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 = 2Displays the element in the bottom-left corner of the screen.
BottomRight = 3Displays the element in the bottom-right corner of the screen.
Custom = 5Displays the element at an explicit pixel position rather than snapped to a corner.
The position itself is supplied separately - see CustomPosition.
None = 4Does 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 = 0Displays the element in the top-left corner of the screen.
TopRight = 1Displays the element in the top-right corner of the screen.