Versions in this module Expand all Collapse all v0 v0.0.2 Jul 31, 2023 Changes in this version + var ErrUnsupported = errors.New("screenshot is not supported on your platform") — js/wasm + func Capture(x, y, width, height int) (*image.RGBA, error) + func CaptureDisplay(displayIndex int) (*image.RGBA, error) + func CaptureRect(rect image.Rectangle) (*image.RGBA, error) + func GetDisplayBounds(displayIndex int) image.Rectangle + func NumActiveDisplays() int