Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptureConfig ¶
type CaptureConfig struct { // Spacing holds the averaging spacing. Spacing int // Threshold holds the averaged color threshold. Threshold int // Monitor holds the monitor used for capture. Monitor int }
CaptureConfig holds the configuration for the screen capture.
type Screen ¶
type Screen struct { // Areas holds the screen areas. Areas []*image.Rectangle // Borders holds the capturing borders. Borders image.Rectangle // Config holds the configuration for the screen capture. Config CaptureConfig }
Screen represents a tiled screen.
func NewScreen ¶
func NewScreen(areas []*image.Rectangle, config CaptureConfig) *Screen
NewScreen returns a new screen, tiled with the given configuration.
func (*Screen) SavePreview ¶
SavePreview saves the current capture configurations as multiple ".png" images at the given path.
Click to show internal directories.
Click to hide internal directories.