Fills an arc defined by an ellipse specified by a rectangle structure and two radial lines.
Syntax
'Declaration
Public Overloads Sub FillArc( _
ByVal As System.Drawing.Brush, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void FillArc(
System.Drawing.Brush ,
System.Drawing.RectangleF ,
System.float ,
System.float
)
Parameters
- brush
- System.Drawing.Brush object that determines the color used to fill the arc.
- 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