pl.wendigo.chrome.domain.overlay / HighlightRectRequest

HighlightRectRequest

data class HighlightRectRequest (source)

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

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

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 method 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