Draws a bezier curve.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
PdfPen
The pen.
startPointX
Single
The start point X.
startPointY
Single
The start point Y.
firstControlPointX
Single
The first control point X.
firstControlPointY
Single
The first control point Y.
secondControlPointX
Single
The second control point X.
secondControlPointY
Single
The second control point Y.
endPointX
Single
The end point X.
endPointY
Single
The end point Y.

See Also