Class DisplayObjectContainer

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): DisplayObjectContainer

Returns

DisplayObjectContainer

Properties

public alpha: number

public buttonMode: boolean

public children: DisplayObject[]

public click: IInteractionDataCallback

public filter: boolean

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 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 swapChildren(child: DisplayObject, child2: DisplayObject)

Parameters