Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FontTexture

Hierarchy

Index

Constructors

constructor

Properties

Protected _textureId

_textureId: WebGLTexture | null = null

deleted

deleted: AsyncEvent<string> = new AsyncEvent<string>()

id

id: string

isPersistent

isPersistent: boolean = false

name

name: string

Optional templatePath

templatePath: undefined | string

Accessors

alignment

  • set alignment(alignment: number): void

bold

  • set bold(bold: boolean): void

family

  • set family(family: string): void

filtering

italic

  • set italic(italic: boolean): void

maxWidth

  • set maxWidth(maxWidth: number): void

scaleFactor

  • set scaleFactor(scale: number): void

shadow

  • set shadow(shadow: FontShadow | undefined): void

size

  • set size(size: number): void

text

  • set text(text: string): void

textureId

  • get textureId(): null | WebGLTexture

Methods

begin

  • begin(stage: number): boolean

copy

deserialize

destroy

  • destroy(): void

dirtify

  • dirtify(): void

getHeight

  • getHeight(): number

getWidth

  • getWidth(): number

graphicLoad

  • graphicLoad(): boolean

graphicUnload

  • graphicUnload(): void

isA

  • isA<T>(type: object): boolean

isLoaded

  • isLoaded(): boolean

save

  • save(folderPath?: undefined | string): void

serialize

setProperty

  • setProperty(name: string, value: any): void

setState

upgrade