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 = 7The canvas is centred along the bottom edge, plus the offset.
BottomLeft = 6The canvas's bottom-left corner sits at the screen's bottom-left corner plus the offset.
BottomRight = 8The canvas's bottom-right corner sits at the screen's bottom-right corner plus the offset.
Center = 4The canvas is centred on the screen, plus the offset.
CenterLeft = 3The canvas is centred along the left edge, plus the offset.
CenterRight = 5The canvas is centred along the right edge, plus the offset.
TopCenter = 1The canvas is centred along the top edge, plus the offset.
TopLeft = 0The canvas's top-left corner sits at the screen's top-left corner plus the offset.
TopRight = 2The canvas's top-right corner sits at the screen's top-right corner plus the offset.