Click or drag to resize

GraphicsIHandlerDrawImage Method (Image, Single, Single, Single, Single)

Draws the specified image in a rectangle

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void DrawImage(
	Image image,
	float x,
	float y,
	float width,
	float height
)

Parameters

image
Type: Eto.DrawingImage
Image to draw
x
Type: SystemSingle
X co-ordinate
y
Type: SystemSingle
Y co-ordinate
width
Type: SystemSingle
Destination width of the image to draw
height
Type: SystemSingle
Destination height of the image to draw
Remarks
This will scale the image to the specified width and height using the ImageInterpolation mode
See Also