DrawEllipse()

Graphics::DrawEllipse(const SharedPtr<Pen>&, Rectangle) method

Draws the specified ellipse using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, Rectangle rect)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the ellipse
rectRectangleThe rectangle that defines the ellipse

Graphics::DrawEllipse(const SharedPtr<Pen>&, RectangleF) method

Draws the specified ellipse using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, RectangleF rect)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the ellipse
rectRectangleFThe rectangle that defines the ellipse

Graphics::DrawEllipse(const SharedPtr<Pen>&, int, int, int, int) method

Draws the specified ellipse using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, int x, int y, int width, int height)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the ellipse
xintThe X coordinate of the upper left corner of the rectangle that defines the ellipse
yintThe Y coordinate of the upper left corner of the rectangle that defines the ellipse
widthintThe width of the rectangle that defines the ellipse
heightintThe height of the rectangle that defines the ellipse

Graphics::DrawEllipse(const SharedPtr<Pen>&, float, float, float, float) method

Draws the specified ellipse using the specified pen on the surface represented by the current object.

void System::Drawing::Graphics::DrawEllipse(const SharedPtr<Pen> &pen, float x, float y, float width, float height)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the ellipse
xfloatThe X coordinate of the upper left corner of the rectangle that defines the ellipse
yfloatThe Y coordinate of the upper left corner of the rectangle that defines the ellipse
widthfloatThe width of the rectangle that defines the ellipse
heightfloatThe height of the rectangle that defines the ellipse

See Also