CubicToCommand constructor

const CubicToCommand(
  1. double x1,
  2. double y1,
  3. double x2,
  4. double y2,
  5. double x3,
  6. double y3,
)

Creates a new cubic Bezier command from the current point to x3,y3 using control points x1,y1 and x2,y2.

Implementation

const CubicToCommand(this.x1, this.y1, this.x2, this.y2, this.x3, this.y3)
    : super._(PathCommandType.cubic);