LinePathComponent constructor

LinePathComponent(
  1. List<Vector2> path,
  2. Color color,
  3. double strokeWidth
)

Implementation

LinePathComponent(this.path, this.color, this.strokeWidth) {
  _paintPath = Paint()
    ..style = PaintingStyle.stroke
    ..color = color
    ..strokeWidth = strokeWidth;
}