highlightFrame

suspend fun highlightFrame(args: Overlay.HighlightFrameParameter, mode: CommandMode = CommandMode.DEFAULT)

Deprecated

Highlights owner element of the frame with given id. Deprecated: Doesn't work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.


suspend fun highlightFrame(frameId: String, contentColor: DOM.RGBA? = null, contentOutlineColor: DOM.RGBA? = null)

Deprecated

Highlights owner element of the frame with given id. Deprecated: Doesn't work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.

Parameters

frameId

Identifier of the frame to highlight.

contentColor

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

contentOutlineColor

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