skrypton-api / com.waicool20.skrypton.sikulix / SKryptonRegion / grow

grow

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.

Parameters

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.

Parameters

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.

Parameters

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.