abstract fun grow(l: Int, r: Int, t: Int, b: Int): SKryptonRegion
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.
abstract fun grow(w: Int, h: Int): SKryptonRegion
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.
abstract fun grow(range: Int): SKryptonRegion
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.
abstract fun grow(): SKryptonRegion
Creates a region grown in pixels specified by org.sikuli.basics.Settings.DefaultPadding.
Return
Grown region.