Interface · Desktop Services
DesktopDisplayInfo
Native desktop display information.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Members
bounds
bounds: DesktopDisplayBoundsFull display bounds in physical desktop pixels.
Type: DesktopDisplayBounds
boundsSize
boundsSize: DesktopDisplaySizeFull display size in device-independent pixels.
Type: DesktopDisplaySize
isPrimary
isPrimary: booleanWhether this is the primary display.
Type: boolean
name
name: stringOperating-system display name.
Type: string
orientation
orientation: "none" | "landscape" | "portrait" | "landscapeflipped" | "portraitflipped"Current native display orientation.
Values: "none", "landscape", "portrait", "landscapeflipped", "portraitflipped"
Type: "none" | "landscape" | "portrait" | "landscapeflipped" | "portraitflipped"
scaling
scaling: numberNative scaling factor.
Type: number
workingArea
workingArea: DesktopDisplayBoundsPhysical bounds remaining after desktop shell work areas are excluded.
Type: DesktopDisplayBounds
workingAreaSize
workingAreaSize: DesktopDisplaySizeUsable display size in device-independent pixels.
Type: DesktopDisplaySize
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1356 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.