Cubic.fromPoints constructor

Cubic.fromPoints(
  1. Point anchor0,
  2. Point control0,
  3. Point control1,
  4. Point anchor1,
)

Implementation

Cubic.fromPoints(
  Point anchor0,
  Point control0,
  Point control1,
  Point anchor1,
) : this._raw([
        anchor0.x,
        anchor0.y,
        control0.x,
        control0.y,
        control1.x,
        control1.y,
        anchor1.x,
        anchor1.y,
      ]);