PdfCanvas
DrawBezier Method (PdfPen, Single, Single, Single, Single, Single, Single, Single, Single)
|
Draws a bezier curve.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void DrawBezier(
PdfPen pen,
float startPointX,
float startPointY,
float firstControlPointX,
float firstControlPointY,
float secondControlPointX,
float secondControlPointY,
float endPointX,
float endPointY
)
Public Sub DrawBezier (
pen As PdfPen,
startPointX As Single,
startPointY As Single,
firstControlPointX As Single,
firstControlPointY As Single,
secondControlPointX As Single,
secondControlPointY As Single,
endPointX As Single,
endPointY As Single
)
public:
void DrawBezier(
PdfPen^ pen,
float startPointX,
float startPointY,
float firstControlPointX,
float firstControlPointY,
float secondControlPointX,
float secondControlPointY,
float endPointX,
float endPointY
)
member DrawBezier :
pen : PdfPen *
startPointX : float32 *
startPointY : float32 *
firstControlPointX : float32 *
firstControlPointY : float32 *
secondControlPointX : float32 *
secondControlPointY : float32 *
endPointX : float32 *
endPointY : float32 -> unit
Parameters
-
pen
-
Type:
Spire.Pdf.Graphics
PdfPen
The pen.
-
startPointX
-
Type:
System
Single
The start point X.
-
startPointY
-
Type:
System
Single
The start point Y.
-
firstControlPointX
-
Type:
System
Single
The first control point X.
-
firstControlPointY
-
Type:
System
Single
The first control point Y.
-
secondControlPointX
-
Type:
System
Single
The second control point X.
-
secondControlPointY
-
Type:
System
Single
The second control point Y.
-
endPointX
-
Type:
System
Single
The end point X.
-
endPointY
-
Type:
System
Single
The end point Y.
See Also