Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreatejsText

Hierarchy

  • any
    • CreatejsText

Index

Constructors

constructor

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

Properties

Protected _originParams

_originParams: ITextOriginParam

Protected _pixiData

_pixiData: ITextPixiData

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

pixi

text

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

textAlign

  • get textAlign(): string
  • set textAlign(align: string): void

Methods

_align

  • _align(align: any): void

Protected _initForPixi

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

    • text: string
    • font: string
    • Default value color: string = "#000000"
    • Rest ...args: any[]

    Returns void

_parseColor

  • _parseColor(color: any): number

_parseFont

updateForPixi

Generated using TypeDoc