DiagramControlHandle class final
A draggable handle on a selected element, in world space.
DiagramControlHandleResolver produces handles, and both painting and hit testing use them. axisX and axisY give the side or corner of a resize or rotate handle, each -1, 0 or 1.
Constructors
- DiagramControlHandle({required String id, required String elementId, required DiagramControlHandleKind kind, required DiagramPoint worldPosition, double axisX = 0, double axisY = 0, int? controlPointIndex, String? pathNodeId, ShapeAdjustment? adjustment, DiagramPoint? worldSegmentStart, DiagramPoint? worldSegmentEnd})
-
const
Properties
- adjustment → ShapeAdjustment?
-
final
- axisX → double
-
final
- axisY → double
-
final
- controlPointIndex → int?
-
final
- elementId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isRotationHandle → bool
-
no setter
- isSideResize → bool
-
no setter
- kind → DiagramControlHandleKind
-
final
- paintsHandle → bool
-
no setter
- pathNodeId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- worldPosition → DiagramPoint
-
final
- worldSegmentEnd → DiagramPoint?
-
final
- worldSegmentStart → DiagramPoint?
-
final
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