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

◆ draw_image() [5/16]

void xtd::drawing::graphics::draw_image ( const xtd::drawing::image image,
int32  x,
int32  y,
int32  width,
int32  height 
)

Draws the specified xtd::drawing::image at the specified location and with the specified size.

Parameters
imagextd::drawing::image to draw.
xThe x-coordinate of the upper-left corner of the drawn image.
yThe y-coordinate of the upper-left corner of the drawn image.
widthWidth of the drawn image.
heightHeight of the drawn image.
Remarks
The rectangle defined by the x, y, width, and height parameters determines the position and size of the drawn image.