extractPath method

Path extractPath(
  1. double start,
  2. double end, {
  3. bool startWithMoveTo = true,
})

Given a start and end distance, return the intervening segment(s).

start and end are clamped to legal values (0..length) 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);
}