The event boundary which manages this event. Propagation can only occur within the boundary's jurisdiction.
Readonly
AT_Readonly
BUBBLING_Readonly
CAPTURING_Readonly
NONEWhether the "alt" key was pressed when this mouse event occurred.
Flags whether this event bubbles. This will take effect only if it is set before propagation.
The specific button that was pressed in this mouse event.
The button depressed when this event occurred.
since 7.0.0
Readonly
cancelableFlags whether this event can be canceled using PIXI.FederatedEvent.preventDefault. This is always false (for now).
The coordinates of the mouse event relative to the canvas.
Readonly
composedFlag added for compatibility with DOM {@code Event}. It is not used in the Federated Events API.
Whether the "control" key was pressed when this mouse event occurred.
The listeners of the event target that are being notified.
Flags whether the default response of the user agent was prevent through this event.
This is the number of clicks that occurs in 200ms/click of each other.
The propagation phase.
{@link PIXI.FederatedEvent.NONE}
The pointer coordinates in world space.
The height of the pointer's contact along the y-axis, measured in CSS pixels. radiusY of TouchEvents will be represented by this value.
Indicates whether or not the pointer device that created the event is the primary pointer.
Flags whether this is a user-trusted event
The coordinates of the evnet relative to the nearest DOM layer. This is a non-standard property.
Readonly
managerThe PIXI.EventBoundary that manages this event. Null for root events.
Whether the "meta" key was pressed when this mouse event occurred.
The movement in this pointer relative to the last mousemove
event.
The native event that caused the foremost original event.
The offset of the pointer coordinates w.r.t. target DisplayObject in world space. This is not supported at the moment.
The original event that caused this event, if any.
The coordinates of the event relative to the DOM document. This is a non-standard property.
The composed path of the event's propagation. The {@code target} is at the end.
The unique identifier of the pointer.
The type of pointer that triggered the event.
Pressure applied by the pointing device during the event. s A Touch's force property will be represented by this value.
Flags whether propagation was immediately stopped.
Flags whether propagation was stopped.
This is currently not implemented in the Federated Events API.
since 7.0.0
The pointer coordinates in the renderer's PIXI.Renderer.screen screen. This has slightly different semantics than native PointerEvent screenX/screenY.
Whether the "shift" key was pressed when this mouse event occurred.
since 7.0.0
Barrel pressure on a stylus pointer.
The event target that this will be dispatched to.
The angle, in degrees, between the pointer device and the screen.
The angle, in degrees, between the pointer device and the screen.
The timestamp of when the event was created.
Twist of a stylus pointer.
The type of event, e.g. {@code "mouseup"}.
The global Window object.
Not supported.
since 7.0.0
The width of the pointer's contact along the x-axis, measured in CSS pixels. radiusX of TouchEvents will be represented by this value.
Fallback for the deprecated @code{PIXI.InteractionEvent.data}.
since 7.0.0
The pointer coordinates in the renderer's screen. Alias for {@code screen.x}.
The pointer coordinates in the renderer's screen. Alias for {@code screen.y}.
Alias for PIXI.FederatedMouseEvent.clientX this.clientX.
Alias for PIXI.FederatedMouseEvent.clientY this.clientY.
The propagation path for this event. Alias for PIXI.EventBoundary.propagationPath.
This will return the local coordinates of the specified displayObject for this InteractionData
The DisplayObject that you would like the local coords off
Optional
point: PA Point object in which to store the value, optional (otherwise will create a new point)
Optional
globalPos: IPointDataA Point object containing your custom global coords, optional (otherwise will use the current global coords)
Not supported.
since 7.0.0
Unimplemented method included for implementing the DOM interface {@code UIEvent}. It will throw an {@code Error}.
Optional
_bubblesArg: booleanOptional
_cancelableArg: booleanOptional
_viewArg: null | WindowOptional
_detailArg: numberGenerated using TypeDoc
A PIXI.FederatedEvent for pointer events.
Memberof
PIXI