HighlightRectRequest

@Serializable
data class HighlightRectRequest(val x: Int, val y: Int, val width: Int, val height: Int, val color: RGBA? = null, val outlineColor: RGBA? = null)(source)

Request object containing input parameters for the OverlayDomain.highlightRect command.

Constructors

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

Types

Link copied to clipboard
class Builder(val x: Int, val y: Int, val width: Int, val height: Int)

Properties

Link copied to clipboard
val color: RGBA? = null

The highlight fill color (default: transparent).

Link copied to clipboard
val height: Int

Rectangle height

Link copied to clipboard
val outlineColor: RGBA? = null

The highlight outline color (default: transparent).

Link copied to clipboard
val width: Int

Rectangle width

Link copied to clipboard
val x: Int

X coordinate

Link copied to clipboard
val y: Int

Y coordinate