SelectionWithEdges<EdgeType> class abstract

Describes a Selection that is bounded at least in one dimension. As a consequence it should have an anchor and a focus that should influence the computation of anchorCoordinate and focusCoordinate

EdgeType is defined by which type of data structure the subclass is.

Implemented types
Implementers
Available extensions

Constructors

SelectionWithEdges()

Properties

anchor → EdgeType
The edge that should include anchorCoordinate. anchor is the origin of a selection, it is the edge that should remain unchanged in an expansion operation.
no setter
anchorCoordinate → IntVector2
The coordinate within the selection that describes its 'origin', usually diametrically opposed to focusCoordinate.
no setterinherited
bottom int?
no setterinherited
focus → EdgeType
The edge that should include focusCoordinate. Focus should correspond the edge that should be changed in a expansion operation.
no setter
focusCoordinate → IntVector2
The coordinate within the selection that describes the location where further directional changes should be based on.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
left int?
no setterinherited
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style SelectionStyle?
no setterinherited
top int?
no setterinherited

Methods

bound({required Range2D to}) → Range2D

Available on Selection, provided by the SelectionMethods extension

Bound a Selection to a Range2D.
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