SelectionEndpoints class final
Where the two ends of a selection sit, in global coordinates.
- Annotations
Constructors
- SelectionEndpoints({required Offset start, required Offset end, required double startHeight, required double endHeight})
-
Records the ends of a selection.
const
Properties
- end → Offset
-
The bottom-right of the last selected glyph.
final
- endHeight → double
-
Line height at the end.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isCollapsed → bool
-
Whether both ends coincide.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → Offset
-
The bottom-left of the first selected glyph.
final
- startHeight → double
-
Line height at the start, which sizes the handle.
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.
override