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

setROI

open fun setROI(): Unit

Overrides ISikuliRegion.setROI

Sets the Region of Interest, mainly used to speed up searches.

open fun setROI(rect: Rectangle): Unit

Overrides ISikuliRegion.setROI

Sets the Region of Interest, mainly used to speed up searches.

Parameters

rect - Sets the ROI to this rectangle.

open fun setROI(region: Region): Unit

Overrides ISikuliRegion.setROI

Sets the Region of Interest, mainly used to speed up searches.

Parameters

region - Sets the ROI to this region.

open fun setROI(X: Int, Y: Int, W: Int, H: Int): Unit

Overrides ISikuliRegion.setROI

Sets the Region of Interest, mainly used to speed up searches.

Parameters

X - x coordinate of top left corner of ROI

Y - Y coordinate of top left corner of ROI

W - Width of ROI

H - Height of ROI