Constructors
constructor
- new FontManager(canvas2DRenderer: any, fontName: string, fillStyle?: string, strokeStyle?: string, fill?: boolean, stroke?: boolean): FontManager
Parameters
canvas2DRenderer: any
fontName: string
fillStyle: string = "#fafafa"
strokeStyle: string = "#fafafa"
fill: boolean = true
stroke: boolean = false
Properties
canvas2DRenderer
canvas2DRenderer: any
fillStyle
fillStyle: string
strokeStyle
strokeStyle: string
Methods
load
- load(letters: string): Font