open fun offset(loc: Location): SKryptonRegion
Overrides ISikuliRegion.offset
Returns a new Region object, whose upper left corner is relocated adding the location’s x and y value to the respective values of the given region. Width and height are the same. So this clones a region at a different place.
loc
- Location object to offset by
Return
Region with offset coordinates.