Screen class constructor
instance which bundles access to screen and / or computer vision related APIs
A {@link Map} of FindHookCallback methods assigned to a template image filename
capture captures a screenshot of a systems main display
Basename for the generated screenshot
The FileType for the generated screenshot
The output path for the generated screenshot (Default: {@link cwd})
Filename prefix for the generated screenshot (Default: empty)
Filename postfix for the generated screenshot (Default: empty)
find will search for a template image on a systems main screen
Filename of the template image, relative to Screen.config.resourceDirectory
which are used to fine tune search region and / or match confidence
height returns the main screen height This refers to the hardware resolution. Screens with higher pixel density (e.g. retina displays in MacBooks) might have a higher height in in actual pixels
on registers a callback which is triggered once a certain template image is found
Template image to trigger the callback on
The FindHookCallback function to trigger
waitFor searches for a template image for a specified duration
Filename of the template image, relative to Screen.config.resourceDirectory
Timeout in milliseconds after which waitFor fails
which are used to fine tune search region and / or match confidence
width returns the main screen width This refers to the hardware resolution. Screens with higher pixel density (e.g. retina displays in MacBooks) might have a higher width in in actual pixels
Config object for Screen class
Configures the required matching percentage for template images to be declared as a match
Configures the path from which template images are loaded from
Screen class provides methods to access screen content of a systems main display