conicTo method Null safety

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

Adds a bezier segment that curves from the current point to the given point (x2,y2), using the control points (x1,y1) and the weight w. If the weight is greater than 1, then the curve is a hyperbola; if the weight equals 1, it's a parabola; and if it is less than 1, it is an ellipse.

Implementation

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