UIKit.UIImage: Method Members

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

See Also: Inherited members from Foundation.NSObject

Public Methods

AccessibilityActivate() : bool
Activates accessibility for this UIImage, returning true on success.
AsJPEG() : Foundation.NSData
Encodes the image with minimal compression (maximum quality) into a Foundation.NSData byte blob using the JPEG encoding.
AsJPEG(nfloat) : Foundation.NSData
Encodes the image into a Foundation.NSData byte blob using the JPEG encoding.
AsPNG() : Foundation.NSData
Encodes the image into a Foundation.NSData byte blob using the PNG encoding.
static
CreateAnimatedImage(string, double) : UIImage
Creates an animated image from a series of files.
static
CreateAnimatedImage(UIImage[], double) : UIImage
This method will create a animated image from a collection of images.
static
CreateAnimatedImage(string, UIEdgeInsets, double) : UIImage
Documentation for this section has not yet been entered.
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(CoreGraphics.CGPoint)
Draws the image at the specified position.
Draw(CoreGraphics.CGRect)
This method will draw the image (scaling as necessary) in the rectangle specified.
Draw(CoreGraphics.CGBlendMode, CoreGraphics.CGPoint, nfloat)
This method will draw an image starting at the specified point.
Draw(CoreGraphics.CGBlendMode, CoreGraphics.CGRect, nfloat)
This method will draw an image in the specified rectangle.
DrawAsPatternInRect(CoreGraphics.CGRect)
This method will draw an image in the specified rectangle.
EncodeTo(Foundation.NSCoder)
Encodes the state of the object on the provided encoder
static
FromBundle(string) : UIImage
Loads an image relative to the application bundle, and caches its result.
static
FromBundle(string, 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
FromImage(CoreGraphics.CGImage) : UIImage
Creates a new image oject from a Quartz image.
static
FromImage(CoreImage.CIImage) : UIImage
Factory method to create a UIKit.UIImage from a Core Image CoreImage.CIImage.
static
FromImage(CoreGraphics.CGImage, UIImageOrientation, nfloat) : UIImage
Factory method to create a UIKit.UIImage from a Core Graphics CoreGraphics.CGImage, with the specified scale and orientation.
static
FromImage(CoreImage.CIImage, UIImageOrientation, nfloat) : UIImage
Factory method to create a UIKit.UIImage from a Core Image 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 UIKit.UIImage based on this, with the specified alignmentInsets.
ImageWithRenderingMode(UIImageRenderingMode) : UIImage
Creates a UIKit.UIImage based on the current one, with the specified renderingMode.
static
LoadFromData(Foundation.NSData) : UIImage
Will create an image from data that originated from a file or was programmatically created.
static
LoadFromData(Foundation.NSData, nfloat) : UIImage
Factory method to create a UIKit.UIImage from the provided data, at the specified scale.
SaveToPhotosAlbum(UIImage.SaveStatus)
Saves the specified image into the Photos Album.
Scale(CoreGraphics.CGSize) : UIImage
Scales the image up or down.
Scale(CoreGraphics.CGSize, nfloat) : UIImage
Scales the image up or down.
StretchableImage(nint, nint) : 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.