SimpleLine constructor

SimpleLine(
  1. Offset startPoint,
  2. Color color
)

Creates a new SimpleLine with a starting point and color.

Implementation

SimpleLine(Offset startPoint, this.color) {
  points.add(startPoint);
}