HighlightRectRequest

data class HighlightRectRequest(x: Int, y: Int, width: Int, height: Int, color: RGBA?, outlineColor: RGBA?)

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.

See also

Constructors

HighlightRectRequest
Link copied to clipboard
fun HighlightRectRequest(x: Int, y: Int, width: Int, height: Int, color: RGBA? = null, outlineColor: RGBA? = null)

Properties

color
Link copied to clipboard
val color: RGBA? = null
The highlight fill color (default: transparent).
height
Link copied to clipboard
val height: Int
Rectangle height
outlineColor
Link copied to clipboard
val outlineColor: RGBA? = null
The highlight outline color (default: transparent).
width
Link copied to clipboard
val width: Int
Rectangle width
x
Link copied to clipboard
val x: Int
X coordinate
y
Link copied to clipboard
val y: Int
Y coordinate

Sources

jvm source
Link copied to clipboard