Draws a pie shape specified using an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
Syntax

[C#]

void AddPie(double x, double y, double width, double height, double startAngle, double sweepAngle);
void AddPie(RectangleF rect, double startAngle, double sweepAngle);

[Visual Basic]

Sub AddPie(x As Double, y As Double, width As Double, height As Double, startAngle As Double, sweepAngle As Double)
Sub AddPie(rect As RectangleF, startAngle As Double, sweepAngle As Double)
Params
Name Description
x The horizontal coordinate (left to right).
y The vertical coordinate (top to bottom).
width The width.
height The height.
startAngle Angle from the x-axis to the start of the arc section. Angles are measured in degrees going clockwise from the x axis.
sweepAngle Angle from the start of the pie section to the end of it. Angles are measured in degrees going clockwise.
rect The rectangle.
Notes

None.

Example

None.