TextLeaderStyleProps Interface

Properties describing the appearance of TextAnnotationLeader in a TextAnnotation. Used when producing geometry for TextAnnotation.

Properties

Name Type Description
color TextStyleColor | "inherit" The color of the leader.  
elbowLength number | undefined Multiplier used to compute length of the elbow in the leader.  
terminatorHeightFactor number | undefined Multiplier to compute height of the leader terminator.  
terminatorShape "none" | "circle" | "openArrow" | "closedArrow" | "closedArrowFilled" | "circleFilled" | "slash" The shape of the leader terminator.  
terminatorWidthFactor number | undefined Multiplier to compute width of the leader terminator.  
wantElbow boolean | undefined Whether to use an elbow in the leader.  

Defined in

Last Updated: 20 November, 2025