Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.
Syntax
'Declaration
Public Overloads Sub DrawEllipse( _
ByVal As System.Drawing.Pen, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void DrawEllipse(
System.Drawing.Pen ,
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- pen
- System.Drawing.Pen object that determines the color, width, and style of the ellipse.
- x
- x-coordinate of the upper-left corner of the bounding rectangle.
- y
- x-coordinate of the upper-left corner of the bounding rectangle.
- width
- Width of the bounding rectangle.
- height
- Height of the bounding rectangle.
See Also