PathOrder.byPosition constructor
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 direction
specifies in which direction the position attribute is compared.
Implementation
PathOrder.byPosition({required AxisDirection direction})
: _comparator = _byPosition(direction: direction);