Search
InteractionState Constructor
See Also
 





Initializes a new instance of the InteractionState class.

Namespace: MindFusion.Diagramming
Package: InteractionState.js

 Syntax

JavaScript  Copy Code

function InteractionState (modifiedItem, action, adjustmentHandle, point)

 Parameters

modifiedItem
The DiagramItem to be created or modified.
action
One of the Action enumeration values, specifying what kind of action to perform.
adjustmentHandle

The index of the selection handle to be dragged with the mouse, defines what kind of modification to perform.

point
A Point specifying the mouse position where the user starts to draw or modify an item.

 See Also