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

setROI

abstract fun setROI(): Unit

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

abstract fun setROI(rect: Rectangle): Unit

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

Parameters

rect - Sets the ROI to this rectangle.

abstract fun setROI(region: Region): Unit

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

Parameters

region - Sets the ROI to this region.

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

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