Upravit

Sdílet prostřednictvím


UIImageOrientation Enum

Definition

An enumeration of values used to specify the orientation of a UIImage.

public enum UIImageOrientation
type UIImageOrientation = 
Inheritance
UIImageOrientation

Fields

Name Value Description
Up 0

Default orientation.

Down 1

Rotated 180 degrees.

Left 2

Rotated 90 degrees counterclockwise.

Right 3

Rotated 90 degrees clockwise.

UpMirrored 4

Flipped about its vertical axis.

DownMirrored 5

Flipped about its vertical axis and then rotated 180 degrees.

LeftMirrored 6

Flipped about its horizontal axis and then rotated 90 degrees counterclockwise.

RightMirrored 7

Flipped about its horizontal axis and then rotated 90 degrees clockwise.

Applies to