DesktopCoordinateOrigin enum

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public enum DesktopCoordinateOrigin

Where the position of a DesktopWindowPlacement is measured from.

Remarks

This set is open: a minor release may add values, so handle unknown ones as DesktopCoordinateOrigin.TopLeft.

Values

TopLeft

TopLeft = 0

The top-left corner of the window's frame, measured right and down from the top-left corner of the primary monitor, as every platform reports positions since Runic 0.12.

BottomLeft

BottomLeft = 1

The bottom-left corner of the window's frame, measured right and up from the bottom-left corner of the primary screen: AppKit's screen coordinates, which macOS placements used before Runic 0.12.