Skip to content

TSdlDisplayOrientation

Display orientation values; the way a display is rotated.

Definition

Unit: Neslib.Sdl3.Video

type TSdlDisplayOrientation = (Unknown, Landscape, LandscapeFlipped, Portrait, PortraitFlipped)

Enumeration Values

Unknown = SDL_ORIENTATION_UNKNOWN

The display orientation can't be determined


Landscape = SDL_ORIENTATION_LANDSCAPE

The display is in landscape mode, with the right side up, relative to portrait mode


LandscapeFlipped = SDL_ORIENTATION_LANDSCAPE_FLIPPED

The display is in landscape mode, with the left side up, relative to portrait mode


Portrait = SDL_ORIENTATION_PORTRAIT

The display is in portrait mode


PortraitFlipped = SDL_ORIENTATION_PORTRAIT_FLIPPED

The display is in portrait mode, upside down