Fills the interior of a pie section defined by an ellipse specified by a Rectangle structure and two radial lines.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void FillPie( Brush brush, Rectangle rect, float startAngle, float sweepAngle )
Type: Aurigma.GraphicsMill.Drawing.Brush
A Brush that determines the characteristics of the fill.Type: System.Drawing.Rectangle
A Rectangle structure that represents 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
An angle between first and second radial line which defines a sector on the ellipse.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, Rectangle, Single, Single) method.