- Aurigma Graphics Mill 5.5 for .NET
- Introduction
- What's New?
- Overview of Features
- Getting Started
- Programming with Graphics Mill for .NET
- File Formats
- Graphics Mill for .NET Add-ons
- Class Library Reference
- Aurigma.GraphicsMill Namespace
- Aurigma.GraphicsMill.AjaxControls Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace
- Aurigma.GraphicsMill.Codecs Namespace
- Aurigma.GraphicsMill.Drawing Namespace
- Brush Class
- BrushType Enumeration
- Charset Enumeration
- Font Class
- GdiGraphics Class
- GdiGraphics Members
- GdiGraphics Constructor
- GdiGraphics Methods
- {dtor} Method
- Clear Method
- Dispose Method
- DrawArc Method
- DrawBezier Method
- DrawBeziers Method
- DrawEllipse Method
- DrawFormattedText Method
- DrawImage Method
- DrawLine Method
- DrawLines Method
- DrawPie Method
- DrawPolygon Method
- DrawRectangle Method
- DrawString Method
- DrawText Method
- ExcludeClip Method
- FillEllipse Method
- FillPie Method
- FillPolygon Method
- FillRectangle Method
- FloodFill Method
- FromHdc Method
- FromHwnd Method
- GetHdc Method
- GetPixel Method
- IntersectClip Method
- Lock Method
- ResetClip Method
- SetClip Method
- SetPixel Method
- TranslateClip Method
- Unlock Method
- GdiGraphics Properties
- GdiGraphicsMode Enumeration
- HatchBrush Class
- HatchStyle Enumeration
- HorizontalAlignment Enumeration
- LineCap Enumeration
- Pen Class
- SolidBrush Class
- TextTrimmingMode Enumeration
- VerticalAlignment Enumeration
- Aurigma.GraphicsMill.Licensing Namespace
- Aurigma.GraphicsMill.Transforms Namespace
- Aurigma.GraphicsMill.WebControls Namespace
- Aurigma.GraphicsMill.WinControls Namespace
- GraphicsMill Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace (Client Class Library)
- Samples
- Licensing
- Copyright Notices
This documentation is for the old version. Go to the latest Graphics Mill docs
GdiGraphics.FillPie Method (Brush, Rectangle, Single, Single)
Fills a pie shape.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Visual Basic
Public Sub FillPie ( _
brush As Brush, _
rect As Rectangle, _
startAngle As Single, _
sweepAngle As Single _
)
Parameters
- brush
-
Type: Aurigma.GraphicsMill.Drawing.Brush
Brush object which is used to fill a pie.
- rect
-
Type: System.Drawing.Rectangle
The bounding rectangle for the ellipse (see Remarks section).
- startAngle
-
Type: System.Single
An angle between x-axis and the first radial line which defines a sector on the ellipse.
- sweepAngle
-
Type: System.Single
An angle between first and second radial line which defines a sector on the ellipse.
Remarks
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, Rectangle, Single, Single) method.