Interface: GlyphVMobjectOptions
Defined in: mobjects/text/GlyphVMobject.ts:16
Properties
color?
optionalcolor:string
Defined in: mobjects/text/GlyphVMobject.ts:28
Stroke color
font
font:
Font
Defined in: mobjects/text/GlyphVMobject.ts:20
The font this glyph belongs to (needed for unitsPerEm)
fontSize
fontSize:
number
Defined in: mobjects/text/GlyphVMobject.ts:22
Font size in pixels
glyph
glyph:
Glyph
Defined in: mobjects/text/GlyphVMobject.ts:18
The opentype.js Glyph object
skeletonOptions?
optionalskeletonOptions:SkeletonizeOptions
Defined in: mobjects/text/GlyphVMobject.ts:38
Options forwarded to the skeletonization algorithm.
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/text/GlyphVMobject.ts:30
Stroke width for outline drawing
useSkeletonStroke?
optionaluseSkeletonStroke:boolean
Defined in: mobjects/text/GlyphVMobject.ts:36
When true, compute the skeleton (medial axis) of the glyph outline so the Write animation can draw along the center-line rather than the perimeter. Default: false.
xOffset?
optionalxOffset:number
Defined in: mobjects/text/GlyphVMobject.ts:24
X offset in pixels (for character positioning)
yOffset?
optionalyOffset:number
Defined in: mobjects/text/GlyphVMobject.ts:26
Y offset in pixels