Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Sub DrawEllipse( _
ByVal pen As PenEx, _
ByVal x As System.Single, _
ByVal y As System.Single, _
ByVal width As System.Single, _
ByVal height As System.Single _
) |
C# | |
---|
void DrawEllipse(
PenEx pen,
System.float x,
System.float y,
System.float width,
System.float height
) |
Parameters
- pen
- The pen to draw the ellipse with.
- x
- X coordinate of the ellipse center.
- y
- Y coordinate of the ellipse center.
- width
- The width of the ellipse.
- height
- The height of the ellipse.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also