quadraticBezierTo method Null safety

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

Adds a quadratic bezier segment that curves from the current point to the given point (x2,y2), using the control point (x1,y1).

Implementation

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