x11

package
v0.0.0-...-7e4d75d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type X11Window

type X11Window struct {
	// contains filtered or unexported fields
}

func NewX11Window

func NewX11Window(x, y, w, h int) *X11Window

func (*X11Window) Capture

func (x11 *X11Window) Capture() (img *image.RGBA, err error)

func (*X11Window) Close

func (x11 *X11Window) Close()

func (*X11Window) GetDisplayBounds

func (x11 *X11Window) GetDisplayBounds(num int) image.Rectangle

func (*X11Window) GetDisplayNumber

func (x11 *X11Window) GetDisplayNumber() int

Jump to

Keyboard shortcuts

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