open fun grow(l: Int, r: Int, t: Int, b: Int): SKryptonRegion
Overrides ISikuliRegion.grow
Creates a region grown to the given values in pixels. Negative values can be passed to shrink instead.
l
- Amount to grow on left side.
r
- Amount to grow on right side.
t
- Amount to grow on top side.
b
- Amount to grow on bottom side.
Return
Grown region.
open fun grow(w: Int, h: Int): SKryptonRegion
Overrides ISikuliRegion.grow
Creates a region grown to the given values in pixels. Negative values can be passed to shrink instead.
w
- Amount to grow horizontally.
h
- Amount to grow vertically.
Return
Grown region.
open fun grow(range: Int): SKryptonRegion
Overrides ISikuliRegion.grow
Creates a region grown to the given values in pixels. Negative values can be passed to shrink instead.
range
- Amount to grow on each side.
Return
Grown region.
open fun grow(): SKryptonRegion
Overrides ISikuliRegion.grow
Creates a region grown in pixels specified by org.sikuli.basics.Settings.DefaultPadding.
Return
Grown region.