Table of Contents

Enum DecorationAnchor

Namespace
BSGameLib.UI.Controls
Assembly
BSGameLib.UI.dll

The point of a view a Decoration is pinned to. Its Offset is always measured inward from that point, so one offset mirrors correctly across all four corners rather than needing negative values on the right and bottom.

public enum DecorationAnchor

Fields

Bottom = 7

The middle of the bottom edge.

BottomLeft = 6

The bottom left corner.

BottomRight = 8

The bottom right corner.

Center = 4

The middle of the view.

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.