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

getLocationFromTarget

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

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.