Link Search Menu Expand Document

CanvasDrawPie Method (Pen, Single, Single, Single, Single, Single, Single)

Draws a pie shape.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawPie(
	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 pie.
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 measured in degrees clockwise from the x-axis to the first side of the pie shape.
sweepAngle
Type: SystemSingle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
See Also

Reference