A Point in Compoennt-space coordinates.
Whether or not the point is inside the Component.
Attaches this Interaction to a Component. If the Interaction was already attached to a Component, it first detaches itself from the old Component.
Gets whether the Drag Interaction constrains Points passed to its callbacks to lie inside its Component.
If true, when the user drags outside of the Component, the closest Point inside the Component will be passed to the callback instead of the actual cursor position.
Sets whether the Drag Interaction constrains Points passed to its callbacks to lie inside its Component.
If true, when the user drags outside of the Component, the closest Point inside the Component will be passed to the callback instead of the actual cursor position.
Detaches this Interaction from the Component. This Interaction can be reused.
Gets whether this Interaction is enabled.
Enables or disables this Interaction.
Whether the Interaction should be enabled.
Removes a callback that would be called during dragging.
Removes a callback that would be called when dragging ends.
Removes a callback that would be called when dragging starts.
Adds a callback to be called during dragging.
Adds a callback to be called when dragging ends.
Adds a callback to be called when dragging starts.
Generated using TypeDoc
Checks whether a Component-coordinate-space Point is inside the Component.