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