Skip to main content

Interface: TextOnPathGlyph

Defined in: src/mobjects/text/TextOnPath.ts:41

A pre-built glyph plus its advance width, for synchronous layout.

Properties​

leadingGap?​

optional leadingGap: number

Defined in: src/mobjects/text/TextOnPath.ts:47

Extra gap before this glyph (world units). Default 0.


mobject​

mobject: VMobject

Defined in: src/mobjects/text/TextOnPath.ts:43

The glyph mobject to position.


width?​

optional width: number

Defined in: src/mobjects/text/TextOnPath.ts:45

Advance width in world units. Defaults to mobject.getWidth().