GraphicsCommandBezierCurveTo(num controlX1, num controlY1, num controlX2, num controlY2, num endX, num endY)

Source

GraphicsCommandBezierCurveTo(
    num controlX1, num controlY1,
    num controlX2, num controlY2,
    num endX, num endY)

    : _controlX1 = controlX1.toDouble(),
      _controlY1 = controlY1.toDouble(),
      _controlX2 = controlX2.toDouble(),
      _controlY2 = controlY2.toDouble(),
      _endX = endX.toDouble(),
      _endY = endY.toDouble();