tracking-code-which-will-go-to-the-HEAD DragSceneAction

Class

DragSceneAction

DragSceneAction()

Action to drag the scene.
Constructor

# new DragSceneAction()

View Source draw/action/DragSceneAction.js, line 6

Methods

# execute(event) → {boolean}

Update scene position.
Parameters:
Name Type Description
event object The event containing the target information.

View Source draw/action/DragSceneAction.js, line 12

No need to redraw because scene is directly updated.
boolean

# finalize() → {boolean}

Send event to indicate that scene have moving.

View Source draw/action/DragSceneAction.js, line 25

No need to redraw because scene is directly updated.
boolean