screenshot

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

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 6 Imported by: 0

README

screenshot

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScreenshotState

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

func CreateState

func CreateState() (*ScreenshotState, error)

func CreateStateWindow

func CreateStateWindow(title string) (*ScreenshotState, error)

func (*ScreenshotState) Destroy

func (ss *ScreenshotState) Destroy()

func (*ScreenshotState) Height

func (ss *ScreenshotState) Height() int

func (*ScreenshotState) MakeScreenshot

func (ss *ScreenshotState) MakeScreenshot() (*image.RGBA, error)

func (*ScreenshotState) Width

func (ss *ScreenshotState) Width() int

type WindowStruct

type WindowStruct struct {
	HWND  uintptr
	Title string
}

func EnumWindowList

func EnumWindowList() []WindowStruct

Jump to

Keyboard shortcuts

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