iOS Guides | Samples

MonoTouch.UIKit.UIImage.Draw Method

This method will draw an image in the specified rectangle.

Syntax

[MonoTouch.Foundation.Export("drawInRect:blendMode:alpha:")]
[MonoTouch.ObjCRuntime.ThreadSafe]
public virtual Void Draw (RectangleF rect, CGBlendMode blendMode, Single alpha)

Parameters

rect
The rectangle in which to draw the image (using the coordinate system of the graphics context).
blendMode
The blend mode to use.
alpha
he opacity of the image as it is drawn

Remarks

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0