generatePoints method

  1. @override
void generatePoints()
override

Implementation

@override
void generatePoints() {
  if (pathArc != null) {
    var arc = ArcBetweenPoints(start: start, end: end, angle: pathArc!);

    setPoints(arc.points);
  } else {
    setPointsAsCorners([start, end]);
  }
  accountForBuff();
}