Table of Contents

Enum DisplayOrientation

Namespace
Microsoft.Xna.Framework
Assembly
MonoGame.Framework.dll

Defines the orientation of the display.

[Flags]
public enum DisplayOrientation

Fields

Default = 0

The default orientation.

LandscapeLeft = 1

The display is rotated counterclockwise into a landscape orientation. Width is greater than height.

LandscapeRight = 2

The display is rotated clockwise into a landscape orientation. Width is greater than height.

Portrait = 4

The display is rotated as portrait, where height is greater than width.

PortraitDown = 8

The display is rotated as inverted portrait, where height is greater than width.

Unknown = 16

Unknown display orientation.