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 WorkspaceSvg The workspace that created this gesture and has a reference to it.