UIImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Register("UIImage", true)]
public class UIImage : Foundation.NSObject, Foundation.INSItemProviderReading, Foundation.INSItemProviderWriting, Foundation.INSSecureCoding, IDisposable, UIKit.IUIAccessibilityIdentification, UIKit.IUIItemProviderPresentationSizeProviding
[Foundation.Register("UIImage", true)]
public class UIImage : Foundation.NSObject, Foundation.INSSecureCoding, IDisposable, UIKit.IUIAccessibilityIdentification
[<Foundation.Register("UIImage", true)>]
type UIImage = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSItemProviderReading
interface INSItemProviderWriting
interface INSSecureCoding
interface IUIAccessibilityIdentification
interface IUIItemProviderPresentationSizeProviding
[<Foundation.Register("UIImage", true)>]
type UIImage = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSSecureCoding
interface IUIAccessibilityIdentification
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| UIImage() |
Creates a new UIImage with default values. |
| UIImage(CGImage, NFloat, UIImageOrientation) | |
| UIImage(CGImage) | |
| UIImage(CIImage, NFloat, UIImageOrientation) |
Constructs a new UIImage backed by the |
| UIImage(CIImage) | |
| UIImage(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIImage(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| UIImage(NSData, NFloat) |
Constructs a UIImage from the provided |
| UIImage(NSData) | |
| UIImage(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| UIImage(String) | |
Properties
| Name | Description |
|---|---|
| AccessibilityActivationPoint | |
| AccessibilityAttributedHint | |
| AccessibilityAttributedLabel | |
| AccessibilityAttributedUserInputLabels | |
| AccessibilityAttributedValue | |
| AccessibilityDirectTouchOptions | |
| AccessibilityElementsHidden | |
| AccessibilityExpandedStatus | |
| AccessibilityFrame | |
| AccessibilityHeaderElements | |
| AccessibilityHint | |
| AccessibilityIdentifier |
Uniquely identifies |
| AccessibilityLabel | |
| AccessibilityLanguage | |
| AccessibilityNavigationStyle | |
| AccessibilityPath | |
| AccessibilityRespondsToUserInteraction | |
| AccessibilityTextualContext | |
| AccessibilityTraits | |
| AccessibilityUserInputLabels | |
| AccessibilityValue | |
| AccessibilityViewIsModal | |
| ActionsImage | |
| AddImage | |
| AlignmentRectInsets | |
| AnnouncementDidFinishNotification |
Notification constant for AnnouncementDidFinish |
| AnnouncementNotification |
Gets the notification posted by an application that an announcement requires assistive technology. |
| AssistiveTechnologyKey |
Notification constant for AssistiveTechnologyKey |
| AssistiveTouchStatusDidChangeNotification |
Notification constant for AssistiveTouchStatusDidChange |
| BaselineOffsetFromBottom | |
| BoldTextStatusDidChangeNotification |
Notification constant for BoldTextStatusDidChange |
| ButtonShapesEnabledStatusDidChangeNotification |
Notification constant for ButtonShapesEnabledStatusDidChange |
| CapInsets | |
| CGImage | |
| CheckmarkImage | |
| CIImage | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ClosedCaptioningStatusDidChangeNotification |
Notification constant for ClosedCaptioningStatusDidChange |
| Configuration | |
| CurrentScale | |
| DarkerSystemColorsStatusDidChangeNotification |
Notification constant for DarkerSystemColorsStatusDidChange |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| Duration | |
| ElementFocusedNotification |
Notification constant for ElementFocused |
| FlipsForRightToLeftLayoutDirection | |
| FocusedElementKey |
Notification constant for FocusedElementKey |
| GrayscaleStatusDidChangeNotification |
Notification constant for GrayscaleStatusDidChange |
| GuidedAccessStatusDidChangeNotification |
Notification constant for GuidedAccessStatusDidChange |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HasBaseline | |
| HearingDevicePairedEarDidChangeNotification |
Notification constant for HearingDevicePairedEarDidChange |
| HeicRepresentation | |
| ImageAsset | |
| ImageRendererFormat | |
| ImageRestrictedToStandardDynamicRange | |
| Images | |
| InvertColorsStatusDidChangeNotification |
Notification constant for InvertColorsStatusDidChange |
| IsAccessibilityElement | |
| IsDirectBinding | (Inherited from NSObject) |
| IsHighDynamicRange | |
| IsProxy | (Inherited from NSObject) |
| LayoutChangedNotification |
Gets the notification posted by an application that the layout of a screen has changed. |
| LeftCapWidth | |
| MonoAudioStatusDidChangeNotification |
Notification constant for MonoAudioStatusDidChange |
| NotificationSwitchControlIdentifier |
Notification constant for NotificationSwitchContr |
| NotificationVoiceOverIdentifier |
Notification constant for NotificationVoiceOv |
| OnOffSwitchLabelsDidChangeNotification |
Notification constant for OnOffSwitchLabelsDidChange |
| Orientation | |
| PageScrolledNotification |
Gets the notification posted by an application that a scroll action has finished. |
| PauseAssistiveTechnologyNotification |
Pauses assistive technology notifications. |
| PreferredPresentationSizeForItemProvider | |
| PrefersCrossFadeTransitionsStatusDidChangeNotification |
Notification constant for PrefersCrossFadeTransitionsStatusDidChange |
| ReadableTypeIdentifiers |
Gets the array of Uniform Type Identifiers (UTIs) for the image. |
| ReduceMotionStatusDidChangeNotification |
Notification constant for ReduceMotionStatusDidChange |
| ReduceTransparencyStatusDidChangeNotification |
Notification constant for ReduceTransparencyStatusDidChange |
| RemoveImage | |
| RenderingMode | |
| ResizingMode | |
| ResumeAssistiveTechnologyNotification |
Resumes assistive technology notifications. |
| RetainCount | (Inherited from NSObject) |
| ScreenChangedNotification |
Gets the notification posted by an application that a new view appears that includes a major portion of the screen. |
| Self | (Inherited from NSObject) |
| ShakeToUndoDidChangeNotification |
Notification constant for ShakeToUndoDidChange |
| ShouldDifferentiateWithoutColorDidChangeNotification |
Notification constant for ShouldDifferentiateWithoutColorDidChange |
| ShouldGroupAccessibilityChildren | |
| Size | |
| SpeakScreenStatusDidChangeNotification |
Notification constant for SpeakScreenStatusDidChange |
| SpeakSelectionStatusDidChangeNotification |
Notification constant for SpeakSelectionStatusDidChange |
| SpeechAttributeAnnouncementPriority |
Represents the value associated with the constant 'UIAccessibilitySpeechAttributeAnnouncementPriority'. |
| SpeechAttributeIpaNotation |
Returns the IPA notation for the accessibility attributed string. |
| SpeechAttributeLanguage |
Gets a BCP-47 language code. |
| SpeechAttributePitch |
Gets the value from 0.0 to 2.0 that determines the pitch for a spoken string. |
| SpeechAttributePunctuation |
Gets a value to be interpreted as a |
| SpeechAttributeQueueAnnouncement |
Key for option that spoken text interrupt existing spoken content. |
| SpeechAttributeSpellOut |
Represents the value associated with the constant 'UIAccessibilitySpeechAttributeSpellOut'. |
| StrokedCheckmarkImage | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SwitchControlStatusDidChangeNotification |
Notification constant for SwitchControlStatusDidChange |
| SymbolConfiguration | |
| SymbolImage | |
| TextAttributeContext |
Represents the value associated with the constant 'UIAccessibilityTextAttributeContext'. |
| TextAttributeCustom |
Key for option that custom attributes be applied to the accessibility text. |
| TextAttributeHeadingLevel |
Key for option of the accessibility text's heading level. |
| TopCapHeight | |
| TraitAdjustable |
Obsolete.
Gets a trait that allows continuous adjustment of an accessibility element through a range of values. |
| TraitAllowsDirectInteraction |
Obsolete.
Gets a trait that allows direct touch interaction for users. |
| TraitButton |
Obsolete.
Gets a trait that indicates that |
| TraitCausesPageTurn |
Obsolete.
Gets a trait that indicates that |
| TraitCollection | |
| TraitHeader |
Obsolete.
Gets a trait that indicates that |
| TraitImage |
Obsolete.
Gets a trait that indicates that |
| TraitKeyboardKey |
Obsolete.
Gets a trait that indicates that |
| TraitLink |
Obsolete.
Gets a trait that indicates that |
| TraitNone |
Obsolete.
Gets a trait that indicates that |
| TraitNotEnabled |
Obsolete.
Gets a trait that indicates that |
| TraitPlaysSound |
Obsolete.
Gets a trait that indicates that |
| TraitSearchField |
Obsolete.
Gets a trait that indicates that |
| TraitSelected |
Obsolete.
Gets a trait that indicates that |
| TraitStartsMediaSession |
Obsolete.
Gets a trait that indicates that |
| TraitStaticText |
Obsolete.
Gets a trait that indicates that |
| TraitSummaryElement |
Obsolete.
Gets a trait that provides summary information when an application starts. |
| TraitTabBar |
Obsolete.
Represents the value associated with the constant 'UIAccessibilityTraitTabBar'. |
| TraitUpdatesFrequently |
Obsolete.
Gets a trait that indicates that |
| UnfocusedElementKey |
Notification constant for UnfocusedElementKey |
| VideoAutoplayStatusDidChangeNotification |
Notification constant for VideoAutoplayStatusDidChange |
| VoiceOverStatusChanged |
Developers should not use this deprecated property. Developers should use 'VoiceOverStatusDidChangeNotification' instead. |
| VoiceOverStatusDidChangeNotification |
Notification constant for VoiceOverStatusDidChange |
| WritableTypeIdentifiers |
Gets the array of uniform type identifiers that specify which data types can be loaded into a color. |
| WritableTypeIdentifiersForItemProvider | |
| Zone | (Inherited from NSObject) |