Skip to main content

Home > blockly > Gesture > (constructor)

Gesture.(constructor)

Constructs a new instance of the Gesture class

Signature:

constructor(e: PointerEvent, creatorWorkspace: WorkspaceSvg);

Parameters

ParameterTypeDescription
ePointerEventThe event that kicked off this gesture.
creatorWorkspaceWorkspaceSvgThe workspace that created this gesture and has a reference to it.