Fills the inside of a pie section. The section is specified using an ellipse bounded by a rectangle and two radial lines representing the start and end positions.
Syntax

[C#]

void FillPie(Brush brush, double x, double y, double width, double height, double startAngle, double sweepAngle);
void FillPie(Brush brush, RectangleF rect, double startAngle, double sweepAngle);

[Visual Basic]

Sub FillPie(brush As Brush, x As Double, y As Double, width As Double, height As Double, startAngle As Double, sweepAngle As Double)
Sub FillPie(brush As Brush, rect As RectangleF, startAngle As Double, sweepAngle As Double)
Params
Name Description
brush The brush to use for the fill.
x The left coordinate of the bounding rectangle.
y The top coordinate of the bounding rectangle.
width The width of the bounding rectangle.
height The height of the bounding rectangle.
startAngle Angle from the x-axis to the start of the pie 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 bounding rectangle for the ellipse.
Notes

None.

Example

None.