TemporaryDisplayObject

private class TemporaryDisplayObject extends PIXI.DisplayObject

Constructor


new TemporaryDisplayObject() → {}

Summary


Properties inherited from DisplayObject

boolean
_accessibleActive = false
boolean
_accessibleDiv = undefined
PIXI.Bounds
_bounds

The bounds object, this is used to calculate and store the bounds of the displayObject.

PIXI.Bounds
_localBounds

Local bounds object, swapped with _bounds when using getLocalBounds().

boolean
accessible = false
boolean
accessibleChildren = true
string
accessibleHint = undefined
string
accessiblePointerEvents = 'auto'
?string
accessibleTitle = undefined
string
accessibleType = 'button'
number
alpha

The opacity of the object.

number
angle
boolean
buttonMode
boolean
cacheAsBitmap
number
cacheAsBitmapMultisample = PIXI.MSAA_QUALITY.NONE
number
cacheAsBitmapResolution = null
boolean
cullable

Should this object be rendered if the bounds of this object are out of frame?

PIXI.Rectangle
cullArea
string
cursor = undefined
boolean
destroyed

Readonly flag for destroyed display objects.

PIXI.Rectangle
filterArea
PIXI.Filter[] | null
filters
PIXI.IHitArea
hitArea = undefined
boolean
interactive = false
boolean
isMask

Does any other displayObject use this object as a mask?

boolean
isSprite

Used to fast check if a sprite is.. a sprite!

PIXI.Matrix
localTransform
PIXI.Container | PIXI.MaskData | null
mask
string
name = undefined
PIXI.Container
parent

The display object container that contains this display object.

PIXI.ObservablePoint
pivot
PIXI.ObservablePoint
position
boolean
renderable
number
rotation
PIXI.ObservablePoint
scale

The scale factors of this object along the local coordinate axes.

PIXI.ObservablePoint
skew
PIXI.DisplayObject
smartMask = undefined
PIXI.Transform
transform
boolean
visible
number
worldAlpha
PIXI.Matrix
worldTransform
boolean
worldVisible
number
x
number
y
number
zIndex

The zIndex of the displayObject.

number
protected _boundsID

Flags the cached bounds as dirty.

PIXI.Rectangle
protected _boundsRect

Cache of this display-object's bounds-rectangle.

boolean
protected _destroyed

If the object has been destroyed via destroy(). If true, it should not be used.

PIXI.Filter[]
protected _enabledFilters
number
protected _lastSortedIndex
PIXI.Rectangle
protected _localBoundsRect

Cache of this display-object's local-bounds rectangle.

PIXI.Container | PIXI.MaskData
protected _mask
PIXI.Container
protected _tempDisplayObjectParent
number
protected _zIndex

Methods inherited from DisplayObject

addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions)
void
calculateBounds()

Recalculates the bounds of the display object.

void
destroy(_options: IDestroyOptions | boolean)
void
disableTempParent(cacheParent: PIXI.Container)
boolean
dispatchEvent(e: Event)

Dispatch the event on this PIXI.DisplayObject using the event's PIXI.EventBoundary.

displayObjectUpdateTransform()
PIXI.Container
enableTempParent()

Used in Renderer, cacheAsBitmap and other places where you call an updateTransform on root

PIXI.Rectangle
getBounds(skipUpdate: boolean, rect: PIXI.Rectangle)

Calculates and returns the (world) bounds of the display object as a Rectangle.

PIXI.Point
getGlobalPosition(point: PIXI.Point, skipUpdate: boolean)
PIXI.Rectangle
getLocalBounds(rect: PIXI.Rectangle)
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions)
void
render(renderer: PIXI.Renderer)
PIXI.Container
setParent(container: PIXI.Container)
this
setTransform(x: number, y: number, scaleX: number, scaleY: number, rotation: number, skewX: number, skewY: number, pivotX: number, pivotY: number)
P
toGlobal(position: IPointData, point: P, skipUpdate: boolean)
P
toLocal(position: IPointData, from: PIXI.DisplayObject, point: P, skipUpdate: boolean)
PIXI.Rectangle
updateSmartMask(recursive: boolean, skipUpdate: boolean)
void
updateTransform()

Updates the object transform for rendering. TODO - Optimization pass!

void
protected _recursivePostUpdateTransform()

Recursively updates transform of all objects from the root to this one internal function for toLocal()

Inherited Events from DisplayObject

added
childRemoved
clickcapture

Capture phase equivalent of click.

destroyed
mousedowncapture

Capture phase equivalent of mousedown.

mouseenter

Fired when the mouse pointer is moved over a DisplayObject and its descendant's hit testing boundaries.

mouseentercapture

Capture phase equivalent of mouseenter

mouseleave

Fired when the mouse pointer exits a DisplayObject and its descendants.

mouseleavecapture

Capture phase equivalent of mouseleave.

mousemovecature

Capture phase equivalent of mousemove.

mouseoutcapture

Capture phase equivalent of mouseout.

mouseovercapture

Capture phase equivalent of mouseover.

mouseupcature

Capture phase equivalent of mouseup.

mouseupoutsidecapture

Capture phase equivalent of mouseupoutside.

pointercancelcapture

Capture phase equivalent of pointercancel.

pointerdowncapture

Capture phase equivalent of pointerdown.

pointerenter

Fired when the pointer is moved over a DisplayObject and its descendant's hit testing boundaries.

pointerentercapture

Capture phase equivalent of pointerenter

pointerleave

Fired when the pointer leaves the hit testing boundaries of a DisplayObject and its descendants.

pointerleavecapture

Capture phase equivalent of pointerleave.

pointermovecapture

Capture phase equivalent of pointermove.

pointeroutcapture

Capture phase equivalent of pointerout.

pointerovercapture

Capture phase equivalent of pointerover.

pointertapcapture

Capture phase equivalent of pointertap.

pointerupcapture

Capture phase equivalent of pointerup.

pointerupoutsidecapture

Capture phase equivalent of pointerupoutside.

removed
rightclickcapture

Capture phase equivalent of rightclick.

rightdowncapture

Capture phase equivalent of rightdown.

rightupcapture

Capture phase equivalent of rightup.

rightupoutsidecapture

Capture phase equivalent of rightupoutside.

tapcapture

Capture phase equivalent of tap.

touchcancelcapture

Capture phase equivalent of touchcancel.

touchendcapture

Capture phase equivalent of touchend.

touchendoutsidecapture

Capture phase equivalent of touchendoutside.

touchmovecapture

Capture phase equivalent of touchmove.

touchstartcapture

Capture phase equivalent of touchstart.

PIXI.FederatedWheelEvent
wheel

Fired when a the user scrolls with the mouse cursor over a DisplayObject.

PIXI.FederatedWheelEvent
wheelcapture

Capture phase equivalent of wheel.

Events


click EventBoundary.ts:1397

Fired when a pointer device button (usually a mouse left-button) is pressed and released on the display object. DisplayObject's interactive property must be set to true to fire event.

A click event fires after the pointerdown and pointerup events, in that order. If the mouse is moved over another DisplayObject after the pointerdown event, the click event is fired on the most specific common ancestor of the two target DisplayObjects.

The detail property of the event is the number of clicks that occurred within a 200ms window of each other upto the current click. For example, it will be 2 for a double click.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

mousedown EventBoundary.ts:1329

Fired when a mouse button (usually a mouse left-button) is pressed on the display. object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

The mousedown event.

mousemove EventBoundary.ts:1482

Fired when a pointer device (usually a mouse) is moved while over the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

mouseout EventBoundary.ts:1532

Fired when a pointer device (usually a mouse) is moved off the display object. DisplayObject's interactive property must be set to true to fire event.

This may be fired on a DisplayObject that was removed from the scene graph immediately after a mouseover event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

mouseover EventBoundary.ts:1499

Fired when a pointer device (usually a mouse) is moved onto the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

mouseup EventBoundary.ts:1363

Fired when a pointer device button (usually a mouse left-button) is released over the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

mouseupoutside EventBoundary.ts:1440

Fired when a pointer device button (usually a mouse left-button) is released outside the display object that initially registered a mousedown. DisplayObject's interactive property must be set to true to fire event.

This event is specific to the Federated Events API. It does not have a capture phase, unlike most of the other events. It only bubbles to the most specific ancestor of the targets of the corresponding pointerdown and pointerup events, i.e. the target of the click event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointercancel EventBoundary.ts:1602

Fired when the operating system cancels a pointer event. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointerdown EventBoundary.ts:1568

Fired when a pointer device button is pressed on the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointermove EventBoundary.ts:1658

Fired when a pointer device is moved while over the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointerout EventBoundary.ts:1708

Fired when a pointer device is moved off the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointerover EventBoundary.ts:1675

Fired when a pointer device is moved onto the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointertap EventBoundary.ts:1619

Fired when a pointer device button is pressed and released on the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointerup EventBoundary.ts:1585

Fired when a pointer device button is released over the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

pointerupoutside EventBoundary.ts:1636

Fired when a pointer device button is released outside the display object that initially registered a pointerdown. DisplayObject's interactive property must be set to true to fire event.

This event is specific to the Federated Events API. It does not have a capture phase, unlike most of the other events. It only bubbles to the most specific ancestor of the targets of the corresponding pointerdown and pointerup events, i.e. the target of the click event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

rightclick EventBoundary.ts:1421

Fired when a pointer device secondary button (usually a mouse right-button) is pressed and released on the display object. DisplayObject's interactive property must be set to true to fire event.

This event follows the semantics of click.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

rightdown EventBoundary.ts:1346

Fired when a pointer device secondary button (usually a mouse right-button) is pressed on the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

rightup EventBoundary.ts:1380

Fired when a pointer device secondary button (usually a mouse right-button) is released over the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

rightupoutside EventBoundary.ts:1463

Fired when a pointer device secondary button (usually a mouse right-button) is released outside the display object that initially registered a rightdown. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

tap EventBoundary.ts:1794

Fired when a touch point is placed and removed from the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

touchcancel EventBoundary.ts:1777

Fired when the operating system cancels a touch. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

touchend EventBoundary.ts:1760

Fired when a touch point is removed from the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

touchendoutside EventBoundary.ts:1811

Fired when a touch point is removed outside of the display object that initially registered a touchstart. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

touchmove EventBoundary.ts:1829

Fired when a touch point is moved along the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event

touchstart EventBoundary.ts:1743

Fired when a touch point is placed on the display object. DisplayObject's interactive property must be set to true to fire event.

These events are propagating from the EventSystem in @pixi/events.

Parameters:
Name Type Description
event PIXI.FederatedPointerEvent

Event


Powered by webdoc!