Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • any
    • CreatejsText

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

Private _createjsEventManager

_createjsEventManager: EventManager

Protected _createjsParams

_createjsParams: ICreatejsTextParam

Protected _pixiData

_pixiData: IPixiTextData

Accessors

_off

  • get _off(): boolean
  • set _off(value: boolean): void

alpha

  • get alpha(): number
  • set alpha(value: number): void

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

mask

pixi

regX

  • get regX(): number
  • set regX(value: number): void

regY

  • get regY(): number
  • set regY(value: number): void

rotation

  • get rotation(): number
  • set rotation(value: number): void

scaleX

  • get scaleX(): number
  • set scaleX(value: number): void

scaleY

  • get scaleY(): number
  • set scaleY(value: number): void

skewX

  • get skewX(): number
  • set skewX(value: number): void

skewY

  • get skewY(): number
  • set skewY(value: number): void

text

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

textAlign

visible

  • get visible(): boolean
  • set visible(value: boolean): void

x

  • get x(): number
  • set x(value: number): void

y

  • get y(): number
  • set y(value: number): void

Methods

Private _align

Private _parseColor

  • _parseColor(color: string): number

Private _parseFont

addEventListener

  • addEventListener(type: string, cb: ICreatejsInteractionEventDelegate | CreatejsButtonHelper, ...args: any[]): any

removeEventListener

  • removeEventListener(type: string, cb: ICreatejsInteractionEventDelegate, ...args: any[]): any
  • Parameters

    • type: string
    • cb: ICreatejsInteractionEventDelegate
    • Rest ...args: any[]

    Returns any

updateForPixi

Generated using TypeDoc