PdfPathElementCurveTo Method

Appends a curve-to operation that draws a cubic Bezier curve from the current point to the specified end point, using two control points. Returns this instance so calls can be chained

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public PdfPathElement CurveTo(
	float x1,
	float y1,
	float x2,
	float y2,
	float x3,
	float y3
)

Parameters

x1  Single
The X coordinate of the first control point in points
y1  Single
The Y coordinate of the first control point in points
x2  Single
The X coordinate of the second control point in points
y2  Single
The Y coordinate of the second control point in points
x3  Single
The X coordinate of the end point in points
y3  Single
The Y coordinate of the end point in points

Return Value

PdfPathElement
This PdfPathElement instance

See Also