Graphics.DrawEllipse
Contents
[
Hide
]DrawEllipse(Pen, RectangleF)
Draws an ellipse defined by a bounding RectangleF.
public void DrawEllipse(Pen pen, RectangleF rect)
Parameter | Type | Description |
---|---|---|
pen | Pen | Pen that determines the color, width, and style of the ellipse. |
rect | RectangleF | RectangleF structure that defines the boundaries of the ellipse. |
See Also
- class Pen
- struct RectangleF
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing
DrawEllipse(Pen, float, float, float, float)
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
public void DrawEllipse(Pen pen, float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
pen | Pen | Pen that determines the color, width, and style of the ellipse. |
x | Single | The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. |
y | Single | The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. |
width | Single | Width of the bounding rectangle that defines the ellipse. |
height | Single | Height of the bounding rectangle that defines the ellipse. |
See Also
- class Pen
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing