AddEllipse()

GraphicsPath::AddEllipse(float, float, float, float) method

Adds the specified ellipse to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(float x, float y, float width, float height)

Arguments

ParameterTypeDescription
xfloatThe X coordinate of the upper left corner of the rectangle that bounds the ellipse to add
yfloatThe Y coordinate of the upper left corner of the rectangle that bounds the ellipse to add
widthfloatThe width of the upper left corner of the rectangle that bounds the ellipse to add
heightfloatThe height of the upper left corner of the rectangle that bounds the ellipse to add

GraphicsPath::AddEllipse(int, int, int, int) method

Adds the specified ellipse to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(int x, int y, int width, int height)

Arguments

ParameterTypeDescription
xintThe X coordinate of the upper left corner of the rectangle that bounds the ellipse to add
yintThe Y coordinate of the upper left corner of the rectangle that bounds the ellipse to add
widthintThe width of the upper left corner of the rectangle that bounds the ellipse to add
heightintThe height of the upper left corner of the rectangle that bounds the ellipse to add

GraphicsPath::AddEllipse(const RectangleF&) method

Adds the specified ellipse to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(const RectangleF &rect)

Arguments

ParameterTypeDescription
rectconst RectangleF&Specifies a rectangle that bounds the ellipse to add

GraphicsPath::AddEllipse(const Rectangle&) method

Adds the specified ellipse to the path represented by the current object.

void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(const Rectangle &rect)

Arguments

ParameterTypeDescription
rectconst Rectangle&Specifies a rectangle that bounds the ellipse to add

See Also