ScreenOrientation

Enum to represent the screen rotation of a device.

Parameters

orientation

The rotation value of the screen (0, 1, 2, 3) as rotation in 90 degree steps

mirror

Whether the screen is mirrored or not

Entries

Link copied to clipboard

Rotate the screen by 0 degrees clockwise. This is the Default orientation.

Link copied to clipboard

Rotate the screen by 90 degrees clockwise

Link copied to clipboard

Rotate the screen by 180 degrees clockwise

Link copied to clipboard

Rotate the screen by 270 degrees clockwise

Link copied to clipboard

Default orientation, no rotation

Link copied to clipboard

Rotate the screen by 90 degrees clockwise

Link copied to clipboard

Rotate the screen by 180 degrees clockwise

Link copied to clipboard

Rotate the screen by 270 degrees clockwise

Link copied to clipboard

Horizontally flip the screen (reflection around the y-axis)

Link copied to clipboard

Rotate the screen by 90 degrees clockwise and flip vertically (reflection around the x-axis)

Link copied to clipboard

Rotate the screen by 180 degrees clockwise and flip horizontally (reflection around the y-axis)

Link copied to clipboard

Rotate the screen by 270 degrees clockwise and flip vertically (reflection around the x-axis)

Link copied to clipboard

Horizontally flip the screen (reflection around the y-axis)

Link copied to clipboard

Rotate the screen by 90 degrees clockwise and flip vertically (reflection around the x-axis)

Link copied to clipboard

Rotate the screen by 180 degrees clockwise and flip horizontally (reflection around the y-axis)

Link copied to clipboard

Rotate the screen by 270 degrees clockwise and flip vertically (reflection around the x-axis)

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.