Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new CreatejsText(text: string, font: string, color?: string, ...args: any[]): CreatejsText
  • Parameters

    • text: string
    • font: string
    • color: string = '#000000'
    • Rest ...args: any[]

    Returns CreatejsText

Properties

Protected _createjsEventManager

_createjsEventManager: EventManager

Protected _createjsParams

_createjsParams: ICreatejsTextParam

_off

_off: boolean

Protected _pixiData

_pixiData: IPixiTextData

alpha

alpha: number

mask

pixi

pixi: Container

regX

regX: number

regY

regY: number

rotation

rotation: number

scaleX

scaleX: number

scaleY

scaleY: number

skewX

skewX: number

skewY

skewY: number

visible

visible: boolean

x

x: number

y

y: number

Accessors

color

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

font

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

lineHeight

  • get lineHeight(): number
  • set lineHeight(height: number): void

lineWidth

  • get lineWidth(): number
  • set lineWidth(width: number): void

text

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

textAlign

Methods

Private _align

Private _parseColor

  • _parseColor(color: string): number

Private _parseFont

addEventListener

removeAllEventListeners

  • removeAllEventListeners(type?: string, ...args: any[]): any

removeEventListener

updateForPixi

Generated using TypeDoc