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

highlight

open fun highlight(): SKryptonRegion

Overrides ISikuliRegion.highlight

Highlights the region.

Return
Highlighted region.

open fun highlight(color: String): SKryptonRegion

Overrides ISikuliRegion.highlight

Highlights the region with the given color

Parameters

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

Return
Highlighted region.

open fun highlight(secs: Int): SKryptonRegion

Overrides ISikuliRegion.highlight


open fun highlight(secs: Float): SKryptonRegion

Overrides ISikuliRegion.highlight

Highlights the region for the given duration.

Parameters

secs - Duration to highlight in seconds.

Return
Highlighted region.

open fun highlight(secs: Int, color: String): SKryptonRegion

Overrides ISikuliRegion.highlight


open fun highlight(secs: Float, color: String): SKryptonRegion

Overrides ISikuliRegion.highlight

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.