Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FontManager

Index

Constructors

  • 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

    Returns FontManager

Properties

canvas2DRenderer: any
fill: boolean
fillStyle: string
fontName: string
stroke: boolean
strokeStyle: string

Methods

  • load(letters: string): Font