Table of Contents

Enum PluginCanvasAnchor

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

Which corner or edge of the screen a canvas is measured from. The canvas's offset is added from there, so a canvas anchored at the bottom right with an offset of (-10, -10) sits ten pixels in from that corner and stays there when the window is resized.

public enum PluginCanvasAnchor

Fields

BottomCenter = 7

The canvas is centred along the bottom edge, plus the offset.

BottomLeft = 6

The canvas's bottom-left corner sits at the screen's bottom-left corner plus the offset.

BottomRight = 8

The canvas's bottom-right corner sits at the screen's bottom-right corner plus the offset.

Center = 4

The canvas is centred on the screen, plus the offset.

CenterLeft = 3

The canvas is centred along the left edge, plus the offset.

CenterRight = 5

The canvas is centred along the right edge, plus the offset.

TopCenter = 1

The canvas is centred along the top edge, plus the offset.

TopLeft = 0

The canvas's top-left corner sits at the screen's top-left corner plus the offset.

TopRight = 2

The canvas's top-right corner sits at the screen's top-right corner plus the offset.