extractPath method
Given a start and stop distance, return the intervening segment(s).
start
and end
are pinned to legal values (0..length)
Returns null if the segment is 0 length or start
> stop
.
Begin the segment with a moveTo if startWithMoveTo
is true.
Implementation
Path extractPath(double start, double end, {bool startWithMoveTo = true}) {
return _measure.extractPath(contourIndex, start, end, startWithMoveTo: startWithMoveTo);
}