highlight Rect
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.
inline suspend fun highlightRect(x: Int, y: Int, width: Int, height: Int, optionalArgs: HighlightRectRequest.Builder.() -> Unit = {}): HighlightRectResponse
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Parameters
x
X coordinate
y
Y coordinate
width
Rectangle width
height
Rectangle height