Skip to content

API reference

Enum Anchor

Namespace: MicroEngine.UI
Assembly: MicroEngine.UI.dll
Guide: UI widgets

A point of the UI view a UiRoot places its content at.

C#
public enum Anchor

Fields

Bottom = 7

The middle of the bottom edge.

BottomLeft = 6

The bottom-left corner.

BottomRight = 8

The bottom-right corner.

Center = 4

The centre.

Left = 3

The middle of the left edge.

Right = 5

The middle of the right edge.

Top = 1

The middle of the top edge.

TopLeft = 0

The top-left corner.

TopRight = 2

The top-right corner.