cubicTo method Null safety

  1. @FfiNative<Void Function(Pointer<Void>, Float, Float, Float, Float, Float, Float)>(Pointer<Void>, Float, Float, Float, Float, Float, Float)>('Path::cubicTo', isLeaf: true)
void cubicTo(
  1. double x1,
  2. double y1,
  3. double x2,
  4. double y2,
  5. double x3,
  6. double y3
)

Adds a cubic bezier segment that curves from the current point to the given point (x3,y3), using the control points (x1,y1) and (x2,y2).

Implementation

@FfiNative<Void Function(Pointer<Void>, Float, Float, Float, Float, Float, Float)>('Path::cubicTo', isLeaf: true)
external void cubicTo(double x1, double y1, double x2, double y2, double x3, double y3);