Is this layer currently active
The canonical name of the CanvasLayer
The name used by hooks to construct their hook string. Note: You should override this getter if hookName should not return the class constructor name.
Customize behaviors of this CanvasLayer by modifying some behaviors at a class level.
Return a reference to the active instance of this canvas layer
Activate the InteractionLayer, deactivating other layers and marking this layer's children as interactive.
Options which configure layer activation
The layer instance, now activated
Deactivate the InteractionLayer, removing interactivity from its children.
The layer instance, now inactive
Get the zIndex that should be used for ordering this layer vertically relative to others in the same Container.
Draw the canvas layer, rendering its internal components and returning a Promise. The Promise resolves to the drawn layer once its contents are successfully rendered.
Deconstruct data used in the current layer in preparation to re-draw the canvas
The inner _activate method which may be defined by each InteractionLayer subclass.
The inner _deactivate method which may be defined by each InteractionLayer subclass.
Handle left mouse-click events which originate from the Canvas stage.
The PIXI InteractionEvent which wraps a PointerEvent
Handle double left-click events which originate from the Canvas stage.
The PIXI InteractionEvent which wraps a PointerEvent
Start a left-click drag workflow originating from the Canvas stage.
The PIXI InteractionEvent which wraps a PointerEvent
Continue a left-click drag workflow originating from the Canvas stage.
The PIXI InteractionEvent which wraps a PointerEvent
Conclude a left-click drag workflow originating from the Canvas stage.
The PIXI InteractionEvent which wraps a PointerEvent
Cancel a left-click drag workflow originating from the Canvas stage.
A right-click pointer event on the document.
Handle right mouse-click events which originate from the Canvas stage.
The PIXI InteractionEvent which wraps a PointerEvent
Handle mouse-wheel events which occur for this active layer.
The WheelEvent initiated on the document
Handle a DELETE keypress while this layer is active.
The delete key press event
The inner _tearDown method which may be customized by each CanvasLayer subclass.
Options for this layer instance.
A subclass of CanvasLayer which provides support for user interaction with its contained objects.