pl.wendigo.chrome.api.overlay / HighlightRectRequest

HighlightRectRequest

data class HighlightRectRequest (source)

Represents request frame that can be used with Overlay#highlightRect operation call.

Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.

Link
Overlay#highlightRect method documentation.

See Also

OverlayOperations.highlightRect

Constructors

<init>

HighlightRectRequest(x: Int, y: Int, width: Int, height: Int, color: RGBA? = null, outlineColor: RGBA? = null)

Represents request frame that can be used with Overlay#highlightRect operation call.

Properties

color

val color: RGBA?

The highlight fill color (default: transparent).

height

val height: Int

Rectangle height

outlineColor

val outlineColor: RGBA?

The highlight outline color (default: transparent).

width

val width: Int

Rectangle width

x

val x: Int

X coordinate

y

val y: Int

Y coordinate