Table of Contents

Enum ScreenCorner

Namespace
Stride.CommunityToolkit.Shapes
Assembly
Stride.CommunityToolkit.Shapes.dll

A corner of the screen, or of the rectangle a batch is drawing into - what Corner(ScreenCorner) hands back a pixel position for, so a widget is placed as a corner plus an offset rather than by a hardcoded resolution.

public enum ScreenCorner

Fields

BottomLeft = 2

The bottom-left corner.

BottomRight = 3

The bottom-right corner.

TopLeft = 0

The origin of screen coordinates.

TopRight = 1

The top-right corner.