extractPartialPath static method
Implementation
static Path extractPartialPath(PathMetric metric, double begin, double end) {
if (begin <= 0.0 && end >= metric.length) {
return metric.extractPath(
begin,
end,
)..close();
}
return metric.extractPath(
begin,
end,
);
}