Interface · Desktop Services
DesktopDisplayInfo
Native desktop display information.
@sharpts/gui · SharpTS 572a2e31be0eMembers
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
src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1430 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.