Draws a pie shape.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub DrawPie ( _ pen As Pen, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ startAngle As Integer, _ sweepAngle As Integer _ )
public void DrawPie( Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle )
Type: Aurigma.GraphicsMill.Drawing.Pen
Pen object which is used to outline a pie.Type: System.Int32
X-coordinate of the top left corner the bounding rectangle for the ellipse (see Remarks section).Type: System.Int32
Y-coordinate of the top left corner of the bounding rectangle for the ellipse (see Remarks section).Type: System.Int32
Width of the bounding rectangle for the ellipse (see Remarks section).Type: System.Int32
Height of the bounding rectangle for the ellipse (see Remarks section).Type: System.Int32
An angle between x-axis and the first radial line which defines a sector on the ellipse.Type: System.Int32
An angle between first and second radial line which defines a sector on the ellipse.All the coordinates are measured in units specified with Unit property.
To fill a pie shape, use FillPie(Brush, Int32, Int32, Int32, Int32, Int32, Int32) method.