Fills a pie shape.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub FillPie ( _ brush As Brush, _ rect As RectangleF, _ startAngle As Single, _ sweepAngle As Single _ )
public void FillPie( Brush brush, RectangleF rect, float startAngle, float sweepAngle )
Type: Aurigma.GraphicsMill.Drawing.Brush
Brush object which is used to fill a pie.Type: System.Single
An angle between x-axis and the first radial line which defines a sector on the ellipse.Type: System.Single
An angle between first and second radial line which defines a sector on the ellipse.Pie is an arc + two lines connecting arc 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.
All the coordinates are measured in units specified with Unit property.
To outline a pie shape, use DrawPie(Pen, RectangleF, Single, Single) method.