Skip to main content

Interface: GlyphPlacement

Defined in: src/mobjects/text/textOnPathLayout.ts:60

The computed placement of one glyph along the path.

Properties​

angle​

angle: number

Defined in: src/mobjects/text/textOnPathLayout.ts:64

Rotation angle in radians (0 when rotateWithTangent is false).


center​

center: PathPoint

Defined in: src/mobjects/text/textOnPathLayout.ts:62

World point where the glyph center sits.


distance​

distance: number

Defined in: src/mobjects/text/textOnPathLayout.ts:66

Arc-length distance of the glyph center before clamp or wrap.


overflow​

overflow: boolean

Defined in: src/mobjects/text/textOnPathLayout.ts:68

True when the glyph center ran past an end of the path.