iOS Guides | Samples

MonoTouch.UIKit.UIImage Constructor

Syntax

[MonoTouch.Foundation.Export("initWithCGImage:scale:orientation:")]
[MonoTouch.ObjCRuntime.ThreadSafe]
public UIImage (CGImage cgImage, Single scale, UIImageOrientation orientation)

Parameters

cgImage
The CGImage to initialize from.
scale
The scale factor for the image. A factor of 1.0 is the original size of the image.
orientation
The rotation that is to be applied to the image

Remarks

This can be used from a background thread.

Requirements

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