Table of Contents

Enum ScreenAnchor

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

A point of the screen, or of any rectangle, named the way TextAnchor names the point of a text block: the four corners, the middle of each edge and the centre. Where a HUD element, an overlay or anchored text is pinned, so it stays put when the window is resized.

public enum ScreenAnchor
Extension Methods

Fields

BottomCenter = 7

The middle of the bottom edge.

BottomLeft = 6

The bottom-left corner.

BottomRight = 8

The bottom-right corner.

MiddleCenter = 4

The centre.

MiddleLeft = 3

The middle of the left edge.

MiddleRight = 5

The middle of the right edge.

TopCenter = 1

The middle of the top edge.

TopLeft = 0

The top-left corner.

TopRight = 2

The top-right corner.