Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.
Syntax
'Declaration
Public Sub DrawPie( _
ByVal As System.Drawing.Pen, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void DrawPie(
System.Drawing.Pen ,
System.Drawing.RectangleF ,
System.float ,
System.float
)
Parameters
- pen
- System.Drawing.Pen object that determines the color, width, and style of the pie shape.
- rc
- The rectangle structure that represents the bounding rectangle of the ellipse that contains the pie shape.
- startAngle
- Angle measured in degrees clockwise from the x-axis to the first side of the pie shape.
- sweepAngle
- Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
See Also