Documentation
¶
Overview ¶
Package screenresolution is used to retrieve the current screen resolution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolution ¶
type Resolution struct {
Width, Height int
}
Resolution represents the resolution of a single screen.
func GetPrimary ¶
func GetPrimary() *Resolution
GetPrimary returns the current screen resolution of the primary display.
func (*Resolution) String ¶
func (r *Resolution) String() string
Click to show internal directories.
Click to hide internal directories.