Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void FillPie( Brush brush, int left, int top, int width, int height, float startAngle, float sweepAngle )
Type: Aurigma.GraphicsMill.Drawing.Brush
A Brush that determines the characteristics of the fill.Type: System.Int32
The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie section comes.Type: System.Int32
The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie section comes.Type: System.Int32
The width of the bounding rectangle that defines the ellipse from which the pie section comes.Type: System.Int32
The height of the bounding rectangle that defines the ellipse from which the pie section comes.Type: System.Single
The angle in degrees measured clockwise from the x-axis to the first side of the pie section.Type: System.Single
The angle in degrees measured clockwise from the startAngle parameter to the second side of the pie section.Pie is an arc and two lines connecting this arc's ends with the center of the ellipse. In other words pie is defined with a tightest bounding rectangle of the ellipse and two angles which specifies necessary ellipse sector.
To outline a pie shape, use DrawPie(Pen, Int32, Int32, Int32, Int32, Single, Single) method.