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

getLocationFromTarget

open fun <PSIMRL : Any> getLocationFromTarget(target: PSIMRL): Location

Overrides ISikuliRegion.getLocationFromTarget

Gets the Location of the target.

Parameters

PSIMRL - Pattern, String, Image, Match, Region or Location.

target - Target to find.

Exceptions

FindFailed - If the find operation failed.

Return
Location of target.