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

highlight

abstract fun highlight(): SKryptonRegion

Highlights the region.

Return
Highlighted region.

abstract fun highlight(color: String): SKryptonRegion

Highlights the region with the given color

Parameters

color - Color to highlight with, can be color name or hex color codes.

Return
Highlighted region.

abstract fun highlight(secs: Int): SKryptonRegion
abstract fun highlight(secs: Float): SKryptonRegion

Highlights the region for the given duration.

Parameters

secs - Duration to highlight in seconds.

Return
Highlighted region.

abstract fun highlight(secs: Int, color: String): SKryptonRegion
abstract fun highlight(secs: Float, color: String): SKryptonRegion

Highlights the region for the given duration and color.

Parameters

secs - Duration to highlight in seconds.

color - Color to highlight with, can be color name or hex color codes.

Return
Highlighted region.