screen

package module
v0.0.0-...-bd080d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2021 License: MIT Imports: 7 Imported by: 0

README

screen

Get the screen coords of a Windows window

Usage

Get the windows screen coordinates. coords := GetScreenCoords("title of a window")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetScreenCoords

func GetScreenCoords(windowName string) image.Rectangle

GetScreenCoords get the screen coords of a window

func SaveImage

func SaveImage(img image.Image, filePath string)

SaveImage *image.RGBA to filePath with PNG format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL