GraphicsDrawImage 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 public void DrawImage(
Image image,
RectangleF source,
RectangleF destination
)
Public Sub DrawImage (
image As Image,
source As RectangleF,
destination As RectangleF
)
member 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