Link Search Menu Expand Document

CanvasDrawCurve Method (Pen, Single, Single, Single, Single, Single, Single, Single, Single)

Draws a cubic B├ęzier curve.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.1.1.556-master
Syntax
public void DrawCurve(
	Pen pen,
	float x1,
	float y1,
	float x2,
	float y2,
	float x3,
	float y3,
	float x4,
	float y4
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the curve.
x1
Type: SystemSingle
The x-coordinate of the starting point of the curve.
y1
Type: SystemSingle
The y-coordinate of the starting point of the curve.
x2
Type: SystemSingle
The x-coordinate of the first control point of the curve.
y2
Type: SystemSingle
The y-coordinate of the first control point of the curve.
x3
Type: SystemSingle
The x-coordinate of the second control point of the curve.
y3
Type: SystemSingle
The y-coordinate of the second control point of the curve.
x4
Type: SystemSingle
The x-coordinate of the ending point of the curve.
y4
Type: SystemSingle
The y-coordinate of the ending point of the curve.
See Also

Reference


Copyright © 2016 - 2021 ByteScout