GraphicsPath.AddEllipse

AddEllipse(RectangleF)

Adds an ellipse to the current path.

public void AddEllipse(RectangleF rect)
ParameterTypeDescription
rectRectangleFA RectangleF that represents the bounding rectangle that defines the ellipse.

See Also


AddEllipse(float, float, float, float)

Adds an ellipse to the current path.

public void AddEllipse(float x, float y, float width, float height)
ParameterTypeDescription
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.
widthSingleThe width of the bounding rectangle that defines the ellipse.
heightSingleThe height of the bounding rectangle that defines the ellipse.

See Also