QuadraticBezierCurve constructor

QuadraticBezierCurve(
  1. Vector2? v0,
  2. Vector2? v1,
  3. Vector2? v2
)

Implementation

QuadraticBezierCurve(Vector2? v0, Vector2? v1, Vector2? v2) {
  type = 'QuadraticBezierCurve';

  this.v0 = v0 ?? Vector2(null, null);
  this.v1 = v1 ?? Vector2(null, null);
  this.v2 = v2 ?? Vector2(null, null);
}