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.

Setting properties on the DraggingTool such as DraggingTool.isGridSnapEnabled sets the value on the DraggingTool.dragOptions instance.

see

DraggingTool.dragOptions

since

2.0

Index

Constructors

Methods

Constructors

constructor

Methods

reset

  • reset(): void
  • Resets the properties of a DraggingOptions instance.

    Returns void