curveTo method Null safety

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

Draw a cubic b├ęzier curve from the current point to (x3,y3) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.

Implementation

void curveTo(
    double x1, double y1, double x2, double y2, double x3, double y3) {
  PdfNumList([x1, y1, x2, y2, x3, y3]).output(_buf);
  _buf.putString(' c\n');
}