Enumeration

ALAssetOrientation

Constants to indicate the orientation of an asset.

Declaration

enum ALAssetOrientation : Int

Topics

Constants

case up

Indicates that the picture is in its default orientation.

case down

Indicates that the picture has been rotated through 180 degrees with respect to the up orientation.

case left

Indicates that the picture has been rotated through 90 degrees counter-clockwise with respect to the up orientation.

case right

Indicates that the picture has been rotated through 90 degrees clockwise with respect to the up orientation.

case upMirrored

Indicates that the picture has been flipped horizontally with respect to the up orientation.

case downMirrored

Indicates that the picture has been rotated through 180 degrees with respect to up orientation, and then flipped horizontally.

case leftMirrored

Indicates that the picture has been rotated through 90 degrees counter-clockwise with respect to the up orientation, and then flipped vertically.

case rightMirrored

Indicates that the picture has been rotated through 90 degrees clockwise with respect to the up orientation and then flipped vertically.