GraphicsIHandlerDrawImage Method (Image, RectangleF, RectangleF) |
Draws the source portion of an image, scaling to the specified destination
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax void DrawImage(
Image image,
RectangleF source,
RectangleF destination
)
Sub DrawImage (
image As Image,
source As RectangleF,
destination As RectangleF
)
abstract DrawImage :
image : Image *
source : RectangleF *
destination : RectangleF -> unit
Parameters
- image
- Type: Eto.DrawingImage
Image to draw - source
- Type: Eto.DrawingRectangleF
Source rectangle of the image portion to draw - destination
- Type: Eto.DrawingRectangleF
Destination rectangle of where to draw the portion
See Also