Skip to content

Line Angle Tooltip

Srdjan Djenader edited this page Nov 30, 2017 · 1 revision

Enables a tooltip for all line plugins (Line, ArrowOneSide and ArrowTwoSide).

This tooltip shows the angle of the new line compared to a horizontal line in degree.


Configuration

drawer: {
    lineAngleTooltip: {
       enabled: false,
       color: 'black',
       fontFamily:  'Arial, sans serif', 
       fontSize: 11
    }
}

Optional setting. If not specified otherwise, the settings shown in the example will be used.

  • enabled:
    • Enables or disables the angle tooltip.
  • color:
    • Sets the color of the tooltip.
  • fontFamily:
    • Sets the font family of the tooltip.
  • fontSize:
    • Sets the font size of the tooltip.
Clone this wiki locally