FillEllipse

Graphics.FillEllipse method (1 of 4)

Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure.

public void FillEllipse(Brush brush, RectangleF rect)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
rect RectangleF RectangleF structure that represents the bounding rectangle that defines the ellipse.

Exceptions

exception condition
ArgumentNullException brush is null.

See Also


Graphics.FillEllipse method (2 of 4)

Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

public void FillEllipse(Brush brush, float x, float y, float width, float height)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
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.

Exceptions

exception condition
ArgumentNullException brush is null.

See Also


Graphics.FillEllipse method (3 of 4)

Fills the interior of an ellipse defined by a bounding rectangle specified by a Rectangle structure.

public void FillEllipse(Brush brush, Rectangle rect)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
rect Rectangle Rectangle structure that represents the bounding rectangle that defines the ellipse.

Exceptions

exception condition
ArgumentNullException brush is null.

See Also


Graphics.FillEllipse method (4 of 4)

Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

public void FillEllipse(Brush brush, int x, int y, int width, int height)
Parameter Type Description
brush Brush Brush that determines the characteristics of the fill.
x Int32 The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
y Int32 The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
width Int32 Width of the bounding rectangle that defines the ellipse.
height Int32 Height of the bounding rectangle that defines the ellipse.

Exceptions

exception condition
ArgumentNullException brush is null.

See Also