Skip to main content
Version: 0.9.0

GuiPanelPoint struct

A position on a GUI panel in panel-content-space pixels: origin top-left as the viewer sees it, +X right, +Y down.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

public readonly struct GuiPanelPoint

Remarks​

Clamped to the image the renderer is displaying: x in [0, width - 1], y in [0, height - 1]. For a stream panel that is the video at its sender's own resolution, and on a video the renderer has scrolled it is the pixel under the finger, not one relative to the visible part.

Constructors​

GuiPanelPoint(int, int)​

public GuiPanelPoint(int xPixels, int yPixels)

Parameters

NameTypeDescription
xPixelsint
yPixelsint

Properties​

XPixels​

public int XPixels { get; }

Value: int

YPixels​

public int YPixels { get; }

Value: int