Enumeration

UIImageResizingMode

Specifies the possible resizing modes for an image.

Declaration

typedef enum UIImageResizingMode : NSInteger {
    ...
} UIImageResizingMode;

Topics

Constants

UIImageResizingModeTile

The image is tiled when it is resized. In other words, the interior region of the original image will be repeated to fill in the interior region of the newly resized image.

UIImageResizingModeStretch

The image is stretched when it is resized. In other words, the interior region of the original image will be scaled to fill in the interior region of the newly resized imaged.

See Also

Image Attributes

imageOrientation

The orientation of the receiver’s image.

UIImageOrientation

A value describing the intended display orientation for an image.

flipsForRightToLeftLayoutDirection

A Boolean value that indicates whether the image should flip in a right-to-left layout.

resizingMode

The resizing mode of the image.

duration

Returns the time interval used to display an animated image.

capInsets

The end-cap insets.

alignmentRectInsets

The alignment metadata used to position the image during layout.

symbolImage

A Boolean value indicating whether the image is vector-based.