getSpacedPoints method
Implementation
@override
getSpacedPoints([num divisions = 40, num offset = 0.0]) {
var points = [];
for (var i = 0; i <= divisions; i++) {
var _offset = offset + i / divisions;
if (_offset > 1.0) {
_offset = _offset - 1.0;
}
points.add(getPoint(_offset, null));
}
if (autoClose) {
points.add(points[0]);
}
return points;
}