An array containing all of the receiver's image representations.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@property(readonly, copy) NSArray<NSImage Rep *> *representations;
Discussion
This property can contain zero or more NSImage
objects.
An array containing all of the receiver's image representations.
SDK
Framework
@property(readonly, copy) NSArray<NSImage Rep *> *representations;
This property can contain zero or more NSImage
objects.
- add Representation:
Adds the specified image representation object to the image.
- add Representations:
Adds an array of image representation objects to the receiver.
- remove Representation:
Removes and releases the specified image representation.
- best Representation For Rect: context: hints:
Returns the best representation of the image for the specified rectangle using the provided hints.
NSImage Hint Key
Constants for the keys to include in a hints dictionary when drawing the image.
NSImage Layout Direction
The layout direction for the image.