PdfGraphics.DrawBezier Method
Overloads
| Name | Description |
|---|---|
| DrawBezier(PdfPen,PdfPoint,PdfPoint,PdfPoint,PdfPoint) | Draws a Bézier spline specified by four PdfPoint objects. |
| DrawBezier(PdfPen,Double,Double,Double,Double,Double,Double,Double,Double) | Draws a Bézier spline defined by four ordered pairs of coordinates that represent points. |
DrawBezier(PdfPen,PdfPoint,PdfPoint,PdfPoint,PdfPoint)
Draws a Bézier spline specified by four PdfPoint objects.
Parameters
pen PdfPen
PdfPen object that determines the color, width, and style of the curve.
pt1 PdfPoint
PdfPoint object that represents the starting point of the curve.
pt2 PdfPoint
PdfPoint object that represents the first control point for the curve.
pt3 PdfPoint
PdfPoint object that represents the second control point for the curve.
pt4 PdfPoint
PdfPoint object that represents the ending point of the curve.
DrawBezier(PdfPen,Double,Double,Double,Double,Double,Double,Double,Double)
Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.
public void DrawBezier(PdfPen pen, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
Parameters
pen PdfPen
PdfPen object that determines the color, width, and style of the curve.
x1 Double
The x-coordinate of the starting point of the curve.
y1 Double
The y-coordinate of the starting point of the curve.
x2 Double
The x-coordinate of the first control point of the curve.
y2 Double
The y-coordinate of the first control point of the curve.
x3 Double
The x-coordinate of the second control point of the curve.
y3 Double
The y-coordinate of the second control point of the curve.
x4 Double
The x-coordinate of the ending point of the curve.
y4 Double
The y-coordinate of the ending point of the curve.