highlightRect
suspend fun highlightRect(args: Overlay.HighlightRectParameter, mode: CommandMode = CommandMode.DEFAULT)
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
suspend fun highlightRect(x: Int, y: Int, width: Int, height: Int, color: DOM.RGBA? = null, outlineColor: DOM.RGBA? = null)
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
color
The highlight fill color (default: transparent).
outlineColor
The highlight outline color (default: transparent).