Search
InteractionState Constructor (DiagramItem, Action, AdjustmentHandle, Point)
See Also
 






Initializes a new instance of the InteractionState class.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public InteractionState (
    DiagramItem modifiedItem,
    Action action,
    AdjustmentHandle adjustmentHandle,
    Point startPoint
)

Visual Basic  Copy Code

Public New ( _
    modifiedItem As DiagramItem, _
    action As Action, _
    adjustmentHandle As AdjustmentHandle, _
    startPoint As 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.

startPoint

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

 Remarks

Call this method to cancel interaction, usually in response to the user clicking the right mouse button while dragging.

 See Also