Class BitmapText

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(text: string, style: IBitmapTextStyle): BitmapText

Parameters

Returns

BitmapText

Properties

public alpha: number

public buttonMode: boolean

public children: DisplayObject[]

public click: IInteractionDataCallback

public filter: boolean

public height: number

public hitArea: IHitArea

public interactive: boolean

public mask: Graphics

public mousedown: IInteractionDataCallback

public mousemove: IInteractionDataCallback

public mouseout: IInteractionDataCallback

public mouseover: IInteractionDataCallback

public mouseup: IInteractionDataCallback

public mouseupoutside: IInteractionDataCallback

public parent: DisplayObjectContainer

public pivot: Point

public position: Point

public renderable: boolean

public rotation: number

public scale: Point

public stage: Stage

public tap: IInteractionDataCallback

public touchend: IInteractionDataCallback

public touchendoutside: IInteractionDataCallback

public touchmove: IInteractionDataCallback

public touchstart: IInteractionDataCallback

public visible: boolean

public width: number

public worldAlpha: number

Methods

public addChild(child: DisplayObject)

Parameters

public addChildAt(child: DisplayObject, index: number)

Parameters

public getChildAt(index: number): DisplayObject

Parameters

  • index: number

Returns

DisplayObject

public removeChild(child: DisplayObject)

Parameters

public setInteractive(interactive: boolean)

Parameters

  • interactive: boolean

public setStyle(style: IBitmapTextStyle)

Parameters

public setText(text: string)

Parameters

  • text: string

public swapChildren(child: DisplayObject, child2: DisplayObject)

Parameters