PathOrder class
Denotes the order of PathSegment elements (not public).
A PathSegment represents a continuous Path element which itself can be contained in a Path.
Ordering the PathSegment elements based on the properties of the respective parent Path is still work in progress and will be possible soon.
Constructors
- PathOrder.byLength({dynamic reverse = false})
-
The PathSegment order is defined according to their respective length, starting with the longest element. If
reverseis true, the smallest element is selected first. - PathOrder.byPosition({required AxisDirection direction})
-
The PathSegment order is defined according to its position in the overall bounding box. The position is defined as the center of the respective bounding box of each PathSegment element. The field
directionspecifies in which direction the position attribute is compared.
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
-
combine(
PathOrder secondPathOrder) → PathOrder -
Returns a new PathOrder object which first sorts PathSegment elements according to this instance and further sorts according to
secondPathOrder. -
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