Class DisplayObject

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): DisplayObject

Returns

DisplayObject

Properties

public alpha: number

public buttonMode: boolean

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 static autoDetectRenderer(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean): IPixiRenderer

Parameters

  • width: number
  • height: number
  • view?: HTMLCanvasElement optional
  • transparent?: boolean optional

Returns

IPixiRenderer

public setInteractive(interactive: boolean)

Parameters

  • interactive: boolean