Skip to main content

Interface: TextGlyphGroupOptions

Defined in: src/mobjects/text/TextGlyphGroup.ts:14

Properties​

color?​

optional color: string

Defined in: src/mobjects/text/TextGlyphGroup.ts:22

Stroke color (default: '#ffffff')


fontSize?​

optional fontSize: number

Defined in: src/mobjects/text/TextGlyphGroup.ts:20

Font size in pixels (default: 48)


fontUrl​

fontUrl: string

Defined in: src/mobjects/text/TextGlyphGroup.ts:18

URL to the font file (OTF/TTF)


skeletonOptions?​

optional skeletonOptions: SkeletonizeOptions

Defined in: src/mobjects/text/TextGlyphGroup.ts:31

Options forwarded to the skeletonization algorithm.


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/text/TextGlyphGroup.ts:24

Stroke width for glyph outlines (default: 2)


text​

text: string

Defined in: src/mobjects/text/TextGlyphGroup.ts:16

The text string to render


useSkeletonStroke?​

optional useSkeletonStroke: boolean

Defined in: src/mobjects/text/TextGlyphGroup.ts:29

When true, each GlyphVMobject computes its skeleton (medial axis) so the Write animation can draw along the center-line. Default: false.