xtd 0.2.0
Loading...
Searching...
No Matches

◆ draw_ellipse() [4/4]

void xtd::drawing::graphics::draw_ellipse ( const xtd::drawing::pen pen,
float  x,
float  y,
float  width,
float  height 
)

Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width.

Parameters
penxtd::drawing::pen that determines the color, width, and style of the ellipse.
xThe x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
yThe y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.
widthWidth of the bounding rectangle that defines the ellipse.
heightHeight of the bounding rectangle that defines the ellipse.
Remarks
This method draws an ellipse that is defined by the bounding rectangle described by the x, y, width, and height parameters.