Link Search Menu Expand Document

CanvasDrawArc Method (Pen, Single, Single, Single, Single, Single, Single)

Draws an arc representing a portion of an ellipse.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawArc(
	Pen pen,
	float centerX,
	float centerY,
	float radiusX,
	float radiusY,
	float startAngle,
	float sweepAngle
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the arc.
centerX
Type: SystemSingle
The x-coordinate of the center of the ellipse.
centerY
Type: SystemSingle
The y-coordinate of the center of the ellipse.
radiusX
Type: SystemSingle
The radius of the ellipse measured along the x-axis.
radiusY
Type: SystemSingle
The radius of the ellipse measured along the y-axis.
startAngle
Type: SystemSingle
Angle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweepAngle
Type: SystemSingle
Angle in degrees measured clockwise from the startAngle parameter to the ending point of the arc.
See Also

Reference