LineCurve constructor

LineCurve(
  1. Vector2 v1,
  2. Vector2 v2
)

Implementation

LineCurve(this.v1, this.v2) {
  type = 'LineCurve';
}