screenshot

package
v0.0.0-...-646ff60 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NumActiveDisplays

func NumActiveDisplays() uint

func Screenshot

func Screenshot(cfg Config) (*image.RGBA, error)

Types

type Config

type Config struct {
	DisplayID uint
	Bounds    image.Rectangle
}

type Implementation

type Implementation struct{}

func (Implementation) NumActiveDisplays

func (Implementation) NumActiveDisplays() uint

func (Implementation) Screenshot

func (Implementation) Screenshot(cfg Config) (*image.RGBA, error)

Jump to

Keyboard shortcuts

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