SlopeAnnotationStyle
Visual appearance of a slope annotation.
Extends
Properties
color
color:
number
Line and text color as a hex number (e.g. 0xff0000).
Inherited from
fontSize
fontSize:
number
Font size of the text label in drawing local units.
Inherited from
BaseAnnotationStyle . fontSize
format
format:
SlopeFormat
How the slope ratio is formatted in the text label.
length
length:
number
Length of the arrow shaft in drawing local units.
lineTick
lineTick:
LineTickBuilder
Tick mark builder at the downhill tip of the arrow.
meshTick?
optionalmeshTick:MeshTickBuilder
Optional filled tick mark builder at the downhill tip.
textOffset
textOffset:
number
Distance from the arrow midpoint to the near edge of the text label, measured perpendicularly to the slope direction.
Overrides
BaseAnnotationStyle . textOffset
tickSize
tickSize:
number
Tick size in drawing local units.
unit?
optionalunit:DimensionUnit
Unit used to format measured values in text labels. Defaults to Units.m (metres) when not set.