PdfBezierCurve constructor
PdfBezierCurve(})
Initializes a new instance of the PdfBezierCurve class with the specified PdfPen and Offset structure.
Implementation
PdfBezierCurve(
Offset startPoint,
Offset firstControlPoint,
Offset secondControlPoint,
Offset endPoint, {
PdfPen? pen,
}) {
_helper = PdfBezierCurveHelper(this);
if (pen != null) {
super.pen = pen;
}
this.startPoint = startPoint;
this.firstControlPoint = firstControlPoint;
this.secondControlPoint = secondControlPoint;
this.endPoint = endPoint;
}