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
)
Sub DrawImage (
image As Image,
x As Single,
y As Single,
width As Single,
height As Single
)
abstract DrawImage :
image : Image *
x : float32 *
y : float32 *
width : float32 *
height : float32 -> unit
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