Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DraggingOptions

Hierarchy

  • DraggingOptions

New in 2.0, this class contains options for dragging and moving parts.

This is used by Diagram.moveParts, Diagram.computeMove, and DraggingTool.computeMove.

Both the Diagram and its DraggingTool have a DraggingOptions instance. Typically, only the DraggingTool one is used, unless the Diagram has no DraggingTool defined.

In typical DraggingTool operation you do not need to create or modify a DraggingOptions instance. Setting properties on the DraggingTool such as DraggingTool.isGridSnapEnabled sets the value on the DraggingTool.dragOptions instance for you.

see

DraggingTool.dragOptions

since

2.0

Index

Constructors

Properties