Draws a pie shape.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub DrawPie ( _ pen As Pen, _ x As Single, _ y As Single, _ width As Single, _ height As Single, _ startAngle As Single, _ sweepAngle As Single _ )
public void DrawPie( Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle )
Type: Aurigma.GraphicsMill.Drawing.Pen
Pen object which is used to outline a pie.Type: System.Single
X-coordinate of the top left corner the bounding rectangle for the ellipse (see Remarks section).Type: System.Single
Y-coordinate of the top left corner of the bounding rectangle for the ellipse (see Remarks section).Type: System.Single
Width of the bounding rectangle for the ellipse (see Remarks section).Type: System.Single
Height of the bounding rectangle for the ellipse (see Remarks section).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.All the coordinates are measured in units specified with Unit property.
To fill a pie shape, use FillPie(Brush, Single, Single, Single, Single, Single, Single) method.