[]
Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.
public void DrawEllipse(Pen pen, float x, float y, float width, float height)
| Type | Name | Description |
|---|---|---|
| Pen | pen | Pen object that determines the color, width, and style of the ellipse. |
| float | x | x-coordinate of the upper-left corner of the bounding rectangle. |
| float | y | x-coordinate of the upper-left corner of the bounding rectangle. |
| float | width | Width of the bounding rectangle. |
| float | height | Height of the bounding rectangle. |
All coordinates are expressed in points, measured from the upper-left corner of the page.
Draws an ellipse defined by a bounding rectangle specified by a rectangle structure.
public void DrawEllipse(Pen pen, RectangleF rc)
| Type | Name | Description |
|---|---|---|
| Pen | pen | Pen object that determines the color, width, and style of the rectangle. |
| RectangleF | rc | A rectangle structure that specifies the bounding rectangle. |
All coordinates are expressed in points, measured from the upper-left corner of the page.