screen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture() robotgo.CBitmap

func CaptureRect

func CaptureRect(x, y, w, h int) robotgo.CBitmap

func Commands

func Commands() []automation.Command

func GetHeight

func GetHeight() int

func GetPixelColor

func GetPixelColor(x, y int) color.Color

func GetWidth

func GetWidth() int

Types

type Point

type Point struct {
	X int `json:"x"`
	Y int `json:"y"`
}
func Search(img robotgo.CBitmap, tolerance float64) Point

func SearchAll

func SearchAll(img robotgo.CBitmap, tolerance float64) []Point

func (Point) String

func (p Point) String() string

Jump to

Keyboard shortcuts

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