Region
Parameters
x Coordinate of the top left corner of the region
y Coordinate of the top left corner of the region
Width of the region
Height of the region
Device that the region belongs to
Screen index
Constructors
Types
Functions
Captures the image of the region
Checks if template doesn't exist on screen, useful if you don't need the result of the find operation. Inverse of has
Gets the last capture of this region
Gets the last screen capture of the region
Checks if template exists on screen, useful if you don't need the result of the find operation. Inverse of doesntHave
Checks if this region is the device screen or a copy of it
Maps a ITemplateMatcher.FindResult onto this region
Maps a rectangle on to this region
Waits until the given template vanishes off-screen. This is the suspending version, use waitDoesntHaveBlocking if blocking operation is needed. Inverse of waitHas
Waits until the given template shows up on screen. This is the suspending version, use waitHasBlocking if blocking operation is needed. Inverse of waitDoesntHave
Properties
Template matcher that will be used for find operations, can be overridden with custom matcher, otherwise Region.DEFAULT_MATCHER will be used
Inheritors
Extensions
Crops and returns a new rect that fits in the other rect
Convenience value, equivalent to Rectangle.x
Convenience value, equivalent to Rectangle.x + Rectangle.width
Convenience value, equivalent to Rectangle.y
Convenience value, equivalent to Rectangle.y + Rectangle.height