pl.wendigo.chrome.api.overlay / HighlightConfig

HighlightConfig

data class HighlightConfig (source)

Configuration data for the highlighting of page elements.

Link
Overlay#HighlightConfig type documentation.

Constructors

<init>

HighlightConfig(showInfo: Boolean? = null, showStyles: Boolean? = null, showRulers: Boolean? = null, showExtensionLines: Boolean? = null, contentColor: RGBA? = null, paddingColor: RGBA? = null, borderColor: RGBA? = null, marginColor: RGBA? = null, eventTargetColor: RGBA? = null, shapeColor: RGBA? = null, shapeMarginColor: RGBA? = null, cssGridColor: RGBA? = null)

Configuration data for the highlighting of page elements.

Properties

borderColor

val borderColor: RGBA?

The border highlight fill color (default: transparent).

contentColor

val contentColor: RGBA?

The content box highlight fill color (default: transparent).

cssGridColor

val cssGridColor: RGBA?

The grid layout color (default: transparent).

eventTargetColor

val eventTargetColor: RGBA?

The event target element highlight fill color (default: transparent).

marginColor

val marginColor: RGBA?

The margin highlight fill color (default: transparent).

paddingColor

val paddingColor: RGBA?

The padding highlight fill color (default: transparent).

shapeColor

val shapeColor: RGBA?

The shape outside fill color (default: transparent).

shapeMarginColor

val shapeMarginColor: RGBA?

The shape margin fill color (default: transparent).

showExtensionLines

val showExtensionLines: Boolean?

Whether the extension lines from node to the rulers should be shown (default: false).

showInfo

val showInfo: Boolean?

Whether the node info tooltip should be shown (default: false).

showRulers

val showRulers: Boolean?

Whether the rulers should be shown (default: false).

showStyles

val showStyles: Boolean?

Whether the node styles in the tooltip (default: false).