Properties
fontString
fontString: ((fauxBold, fauxItalic) => string)
Type declaration
-
- (fauxBold, fauxItalic): string
-
Parameters
-
fauxBold: boolean
-
fauxItalic: boolean
Returns string
getAdvance
getAdvance: ((text) => number)
Type declaration
-
- (text): number
-
Returns number
getBounds
getBounds: ((text,
fauxBold,
fauxItalic) => Rect)
Type declaration
-
- (text, fauxBold, fauxItalic): Rect
-
Parameters
-
text: string
-
fauxBold: boolean
-
fauxItalic: boolean
generateImage
generateImage: ((text, bounds) => TexImageSource)
Type declaration
-
- (text, bounds): TexImageSource
-
Returns TexImageSource