MonoTouch.UIKit.UIImage: Method Members

The methods of MonoTouch.UIKit.UIImage are listed below. For a list of all members, see the UIImage Members list.

See Also: Inherited members from MonoTouch.Foundation.NSObject

Public Methods

AccessibilityActivate() : bool
Activates accessibility for this UIImage, returning true on success.
AsJPEG() : MonoTouch.Foundation.NSData
Encodes the image with minimal compression (maximum quality) into a MonoTouch.Foundation.NSData byte blob using the JPEG encoding.
AsJPEG(float) : MonoTouch.Foundation.NSData
Encodes the image into a MonoTouch.Foundation.NSData byte blob using the JPEG encoding.
AsPNG() : MonoTouch.Foundation.NSData
Encodes the image into a MonoTouch.Foundation.NSData byte blob using the PNG encoding.
static
CreateAnimatedImage(UIImage[], double) : UIImage
This method will create a animated image from a collection of images.
static
CreateAnimatedImage(string, double) : UIImage
Creates an animated image from a series of files.
static
CreateAnimatedImage(UIImage[], UIEdgeInsets, double) : UIImage
Creates an animated image from a series of files with the end caps applied.
static
CreateAnimatedImage(string, UIEdgeInsets, double) : UIImage
Creates a new animated image by loading a set of identically sized and scaled image files that have names that begin with name and that have sequential numerical suffixes.
static
CreateAnimatedImage(string, UIEdgeInsets, UIImageResizingMode, double) : UIImage
Factory method to create an animated image with end caps and the specified resizingMode.
CreateResizableImage(UIEdgeInsets) : UIImage
Creates a new image from the current instance and applies the specified cap insets.
CreateResizableImage(UIEdgeInsets, UIImageResizingMode) : UIImage
Creates a new image, based on the current, with the specified capInsets and resizingMode.
Draw(System.Drawing.PointF)
Draws the image at the specified position.
Draw(System.Drawing.RectangleF)
This method will draw the image (scaling as necessary) in the rectangle specified.
Draw(System.Drawing.PointF, MonoTouch.CoreGraphics.CGBlendMode, float)
This method will draw an image starting at the specified point.
Draw(System.Drawing.RectangleF, MonoTouch.CoreGraphics.CGBlendMode, float)
This method will draw an image in the specified rectangle.
DrawAsPatternInRect(System.Drawing.RectangleF)
This method will draw an image in the specified rectangle.
static
FromBundle(string) : UIImage
Loads an image relative to the application bundle, and caches its result.
static
FromBundle(string, MonoTouch.Foundation.NSBundle, UITraitCollection) : UIImage
Gets an image from the specified bundle that is compatible with the specified trait collection.
static
FromFile(string) : UIImage
Create an image object from the specified file.
static
FromFileUncached(string) : UIImage
Alias to FromFile, merely with a more explicit name to draw attention to the cache-less nature of this call compared to FromBundle.
static
FromImage(MonoTouch.CoreGraphics.CGImage) : UIImage
Creates a new image oject from a Quartz image.
static
FromImage(MonoTouch.CoreImage.CIImage) : UIImage
Factory method to create a MonoTouch.UIKit.UIImage from a Core Image MonoTouch.CoreImage.CIImage.
static
FromImage(MonoTouch.CoreGraphics.CGImage, float, UIImageOrientation) : UIImage
Factory method to create a MonoTouch.UIKit.UIImage from a Core Graphics MonoTouch.CoreGraphics.CGImage, with the specified scale and orientation.
static
FromImage(MonoTouch.CoreImage.CIImage, float, UIImageOrientation) : UIImage
Factory method to create a MonoTouch.UIKit.UIImage from a Core Image MonoTouch.CoreImage.CIImage, with the specified scale and orientation.
static
FromResource(System.Reflection.Assembly, string) : UIImage
Loads an image from a resource embedded in the assembly.
ImageWithAlignmentRectInsets(UIEdgeInsets) : UIImage
Creates a MonoTouch.UIKit.UIImage based on this, with the specified alignmentInsets.
ImageWithRenderingMode(UIImageRenderingMode) : UIImage
Creates a MonoTouch.UIKit.UIImage based on the current one, with the specified renderingMode.
static
LoadFromData(MonoTouch.Foundation.NSData) : UIImage
Will create an image from data that originated from a file or was programmatically created.
static
LoadFromData(MonoTouch.Foundation.NSData, float) : UIImage
Factory method to create a MonoTouch.UIKit.UIImage from the provided data, at the specified scale.
SaveToPhotosAlbum(UIImage.SaveStatus)
Saves the specified image into the Photos Album.
Scale(System.Drawing.SizeF) : UIImage
Scales the image up or down.
Scale(System.Drawing.SizeF, float) : UIImage
Scales the image up or down.
StretchableImage(int, int) : UIImage
Creates a stretchable image with the specified parameters. Deprecated in iOS 5, but still useful since the replacement is known to have bugs.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIImage object.