Instance Property

representations

An array containing all of the receiver's image representations.

Declaration

@property(readonly, copy) NSArray<NSImageRep *> *representations;

Discussion

This property can contain zero or more NSImageRep objects.

See Also

Working with Image Representations

- addRepresentation:

Adds the specified image representation object to the image.

- addRepresentations:

Adds an array of image representation objects to the receiver.

- removeRepresentation:

Removes and releases the specified image representation.

- bestRepresentationForRect:context:hints:

Returns the best representation of the image for the specified rectangle using the provided hints.

NSImageHintKey

Constants for the keys to include in a hints dictionary when drawing the image.

NSImageLayoutDirection

The layout direction for the image.