iOS Guides | Samples

CoreGraphics.CGContext.DrawImage Method

Draws an image into the graphics context bounded to the specified rectangle.

Syntax

public Void DrawImage (CGImage image, CGRect rect)

Parameters

rect
The bounding box in user space in which to draw the image.
image
The image to draw.

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0