LeaderAnnotationStyle
Visual appearance of a leader 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
leaderShape?β
optionalleaderShape:"angular"|"curved"
Leader line shape.
"angular"(default) β two straight segments: arrowTip β elbow β extensionEnd."curved"β quadratic BΓ©zier withelbowas the control point.
lineTick?β
optionallineTick:LineTickBuilder
Line-segment tick at the arrow tip β geometry is included in the same
LineSegments as the leader line.
When both tick and meshTick are absent, nothing is drawn at the tip.
meshTick?β
optionalmeshTick:MeshTickBuilder
Filled (mesh) tick at the arrow tip β rendered as a separate THREE.Mesh.
Can be combined with tick (e.g. open circle + filled disc = target).
textOffsetβ
textOffset:
number
Distance from extensionEnd to the text label anchor,
measured along the extension direction.
Overridesβ
BaseAnnotationStyle . textOffset
tickSizeβ
tickSize:
number
Size of the tick at the arrow tip in drawing local units.
unit?β
optionalunit:DimensionUnit
Unit used to format measured values in text labels. Defaults to Units.m (metres) when not set.