Graphics.FillEllipse

FillEllipse(Brush, RectangleF)

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

public void FillEllipse(Brush brush, RectangleF rect)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
rectRectangleFRectangleF structure that represents the bounding rectangle that defines the ellipse.

See Also


FillEllipse(Brush, float, float, float, float)

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)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
xSingleThe x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
ySingleThe y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
widthSingleWidth of the bounding rectangle that defines the ellipse.
heightSingleHeight of the bounding rectangle that defines the ellipse.

See Also