Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Text

Hierarchy

Index

Constructors

constructor

Accessors

active

  • get active(): boolean
  • set active(active: boolean): void

alignment

  • set alignment(alignment: number): void

color

  • get color(): Color
  • set color(color: Color): void

entity

font

  • get font(): undefined | Font

id

  • get id(): string

isTouchInside

  • get isTouchInside(): boolean

isTouchPressed

  • get isTouchPressed(): boolean

parent

  • get parent(): undefined | Entity

text

  • get text(): string
  • set text(text: string): void

version

  • get version(): number

Methods

copy

deserialize

destroy

  • destroy(): void

getVertexBuffer

isA

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

isLoaded

  • isLoaded(): boolean

onReplace

reset

  • reset(): void

serialize

setEntity

  • setEntity(entity: Entity): void

setState

setTouchInside

  • setTouchInside(inside: boolean): void

setTouchPressed

  • setTouchPressed(pressed: boolean): void

upgrade