getSpacedPoints method

dynamic getSpacedPoints([
  1. num divisions = 5,
  2. num offset = 0
])
inherited

Implementation

getSpacedPoints([num divisions = 5, num offset = 0]) {
  var points = [];

  for (var d = 0; d <= divisions; d++) {
    points.add(getPointAt(d / divisions, null));
  }

  return points;
}