blockly > Gesture > (constructor)
Gesture.(constructor)
Constructs a new instance of the Gesture class
Signature:
constructor(e: PointerEvent, creatorWorkspace: WorkspaceSvg);
Parameters
Parameter | Type | Description |
|---|---|---|
e | PointerEvent | The event that kicked off this gesture. |
creatorWorkspace | The workspace that created this gesture and has a reference to it. |