Link Search Menu Expand Document

CanvasDrawCurve Method (Pen, PointF, PointF, PointF, PointF)

Draws a cubic Bézier curve.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawCurve(
	Pen pen,
	PointF pt1,
	PointF pt2,
	PointF pt3,
	PointF pt4
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the curve.
pt1
Type: System.DrawingPointF
The starting point of the curve.
pt2
Type: System.DrawingPointF
The first control point for the curve.
pt3
Type: System.DrawingPointF
The second control point for the curve.
pt4
Type: System.DrawingPointF
The ending point of the curve.
See Also

Reference