UIKit.UIImage Members

The members of UIKit.UIImage are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Creates a UIKit.UIImage by loading from the provided file name
Constructs a UIKit.UIImage from the provided data, scaled by the scale factor.
Constructs an image based on the ciImage, scaled by scale and oriented per orientation.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AccessibilityActivationPointCoreGraphics.CGPoint. Gets or sets the screen coordinates of the activation point for this UIKit.IUIAccessibilityIdentification element.
AccessibilityElementsHiddenbool. Gets or sets whether accessibility elements contained in this UIKit.IUIAccessibilityIdentification element are hidden.
AccessibilityFrameCoreGraphics.CGRect. Gets or sets the screen coordinates of the frame of this UIKit.IUIAccessibilityIdentification element.
AccessibilityHintstring. Gets or sets a localized string that describes the result of an action.
AccessibilityIdentifierstring. Gets or sets an identifier that identifies this UIKit.IUIAccessibilityIdentification element.
AccessibilityLabelstring. Gets or sets a localized string to identify this UIKit.IUIAccessibilityIdentification element.
AccessibilityLanguagestring. Gets or sets the language for the Monotouch.UIKit.UIIMage.AccessibilityLabel, Monotouch.UIKit.UIIMage.AccessibilityValue, and Monotouch.UIKit.UIIMage.AccessibilityHint of this UIKit.IUIAccessibilityIdentification element.
AccessibilityNavigationStyleUIAccessibilityNavigationStyle. Gets or sets the navigation style.
AccessibilityPathUIBezierPath. Specifies screen coordinates for the path of an element that is used to highlight the element.
AccessibilityTraitsUIAccessibilityTrait. Gets or sets the accessibility traits that best characterize this UIKit.IUIAccessibilityIdentification element.
AccessibilityValuestring. Specifies a localized string that contains the value of this UIKit.IUIAccessibilityIdentification element.
AccessibilityViewIsModalbool. Gets or sets whether VoiceOver ignores elements in sibling views of this image object.
[read-only]
AlignmentRectInsetsUIEdgeInsets. Alignment metadata that provides hints for aligning the UIKit.UIImage content.
[read-only]
static
AnnouncementDidFinishNotificationFoundation.NSString. Notification constant for AnnouncementDidFinish
[read-only]
static
AnnouncementNotificationint. Gets the notification posted by an application that an announcement requires assistive technology.
[read-only]
static
BoldTextStatusDidChangeNotificationFoundation.NSString. Notification constant for BoldTextStatusDidChange
[read-only]
CapInsetsUIEdgeInsets. The portions of a image that are not resized when the image is stretched. Read-only.
[read-only]
CGImageCoreGraphics.CGImage. The underlying image data. Read-only.
[read-only]
CIImageCoreImage.CIImage. The underlying CoreImage.CIImage data. Read-only.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
ClosedCaptioningStatusDidChangeNotificationFoundation.NSString. Notification constant for ClosedCaptioningStatusDidChange
[read-only]
CurrentScalenfloat. The scale of the image.
[read-only]
static
DarkerSystemColorsStatusDidChangeNotificationFoundation.NSString. Notification constant for DarkerSystemColorsStatusDidChange
[read-only]
Durationdouble. The time interval to display the animated image. Read-only.
[read-only]
static
GrayscaleStatusDidChangeNotificationFoundation.NSString. Notification constant for GrayscaleStatusDidChange
[read-only]
static
GuidedAccessStatusDidChangeNotificationFoundation.NSString. Notification constant for GuidedAccessStatusDidChange
[read-only]
ImageAssetUIImageAsset. Gets an image asset with which the image is associated.
[read-only]
ImagesUIImage[]. An array of UIKit.UIImage objects that make up an animated iamge.
[read-only]
static
InvertColorsStatusDidChangeNotificationFoundation.NSString. Notification constant for InvertColorsStatusDidChange
IsAccessibilityElementbool. Gets or sets whether this image is an accessibility object that an assistive app can access.
[read-only]
static
LayoutChangedNotificationint. Gets the notification posted by an application that the layout of a screen has changed.
[read-only]
LeftCapWidthnint. The width of the left cap.
[read-only]
static
MonoAudioStatusDidChangeNotificationFoundation.NSString. Notification constant for MonoAudioStatusDidChange
[read-only]
static
NotificationSwitchControlIdentifierFoundation.NSString. Notification constant for NotificationSwitchContr
[read-only]
OrientationUIImageOrientation. The orienation of the image. Read-only.
[read-only]
static
PageScrolledNotificationint. Gets the notification posted by an application that a scroll action has finished.
[read-only]
static
PauseAssistiveTechnologyNotificationint. Pauses assistive technology notifications.
[read-only]
static
ReduceMotionStatusDidChangeNotificationFoundation.NSString. Notification constant for ReduceMotionStatusDidChange
[read-only]
static
ReduceTransparencyStatusDidChangeNotificationFoundation.NSString. Notification constant for ReduceTransparencyStatusDidChange
[read-only]
RenderingModeUIImageRenderingMode. The default value is UIRenderingMode.Automatic.
[read-only]
ResizingModeUIImageResizingMode. The resizing mode used by the image.
[read-only]
static
ResumeAssistiveTechnologyNotificationint. Resumes assistive technology notifications.
[read-only]
static
ScreenChangedNotificationint. Gets the notification posted by an application that a new view appears that includes a major portion of the screen.
ShouldGroupAccessibilityChildrenbool. Gets or sets whether VoiceOver groups elements that are children of this object regardless of their positions.
[read-only]
SizeCoreGraphics.CGSize. The dimensions of the image. Read-only.
[read-only]
static
SpeakScreenStatusDidChangeNotificationFoundation.NSString. Notification constant for SpeakScreenStatusDidChange
[read-only]
static
SpeakSelectionStatusDidChangeNotificationFoundation.NSString. Notification constant for SpeakSelectionStatusDidChange
[read-only]
static
SpeechAttributeLanguageFoundation.NSString. Gets a BCP-47 language code.
[read-only]
static
SpeechAttributePitchFoundation.NSString. Gets the value from 0.0 to 2.0 that determines the pitch for a spoken string.
[read-only]
static
SpeechAttributePunctuationFoundation.NSString. Gets a value to be interpreted as a bool that determines whether the punctuation in a string is pronounced.
[read-only]
static
SwitchControlStatusDidChangeNotificationFoundation.NSString. Notification constant for SwitchControlStatusDidChange
[read-only]
TopCapHeightnint. The height of the top cap (non-resizable area).
[read-only]
static
TraitAdjustablelong. Gets a trait that allows continuous adjustment of an accessibility element through a range of values.
[read-only]
static
TraitAllowsDirectInteractionlong. Gets a trait that allows direct touch interaction for users.
[read-only]
static
TraitButtonlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element should be treated as a button.
[read-only]
static
TraitCausesPageTurnlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element should turn the page when VoiceOver finishes that page.
[read-only]
TraitCollectionUITraitCollection. Returns a trait collection.
[read-only]
static
TraitHeaderlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element is a header that divides content into sections.
[read-only]
static
TraitImagelong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element should be treated as an image.
[read-only]
static
TraitKeyboardKeylong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element acts like a keyboard key.
[read-only]
static
TraitLinklong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element should be considered a link.
[read-only]
static
TraitNonelong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element has no traits.
[read-only]
static
TraitNotEnabledlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element is not enabled.
[read-only]
static
TraitPlaysSoundlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification elements plays its own sound when activated.
[read-only]
static
TraitSearchFieldlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element should be considered a search field.
[read-only]
static
TraitSelectedlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element is selected.
[read-only]
static
TraitStartsMediaSessionlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element starts a media session when it is activated.
[read-only]
static
TraitStaticTextlong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element should be treated as static text.
[read-only]
static
TraitSummaryElementlong. Gets a trait that provides summary information when an application starts.
[read-only]
static
TraitUpdatesFrequentlylong. Gets a trait that indicates that this UIKit.IUIAccessibilityIdentification element updates its Monotouch.UIKit.UIIMage.AccessibilityLabel or Monotouch.UIKit.UIIMage.AccessibilityValue.
[read-only]
static
VoiceOverStatusChangedFoundation.NSString. Gets a notification that VoiceOver starts or stops.

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.