Table of Contents

Enum DisplayPosition

Namespace
Stride.CommunityToolkit.Rendering.Text
Assembly
Stride.CommunityToolkit.dll

Represents the possible positions on the screen where text or other UI elements can be displayed.

public enum DisplayPosition

Fields

BottomLeft = 2

Displays the element in the bottom-left corner of the screen.

BottomRight = 3

Displays the element in the bottom-right corner of the screen.

Custom = 5

Displays the element at an explicit pixel position rather than snapped to a corner.

The position itself is supplied separately - see CustomPosition.

None = 4

Does not display the element at all.

Lets a caller opt out up front, rather than only being able to hide the element at runtime.

TopLeft = 0

Displays the element in the top-left corner of the screen.

TopRight = 1

Displays the element in the top-right corner of the screen.