CanvasDrawPie Method (Pen, RectangleF, Single, Single)ByteScout PDF SDK
Draws a pie shape defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.

Namespace:  Bytescout.PDF
Assembly:  Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax

public void DrawPie(
	Pen pen,
	RectangleF rect,
	float startAngle,
	float sweepAngle
)

Parameters

pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the pie.
rect
Type: System.DrawingRectangleF
System.Drawing.RectangleF structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes.
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