DraggingInfo class
This is used in dragging methods to remember initial locations, for relative positioning and for cancellation. You do not typically need to create these unless you are overriding tools.
CommandHandler#computeEffectiveCollection returns a Map of Parts and DraggingInfo, which is used as an argument for methods like Diagram#computeMove.
Diagram#moveParts constructs a Map of Parts and DraggingInfo to record each Part's location offset during moves.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- DraggingInfo([Point? pt])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited