highlightQuad method
Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
quad
Quad to highlight
color
The highlight fill color (default: transparent).
outlineColor
The highlight outline color (default: transparent).
Implementation
Future<void> highlightQuad(dom.Quad quad,
{dom.RGBA? color, dom.RGBA? outlineColor}) async {
await _client.send('Overlay.highlightQuad', {
'quad': quad,
if (color != null) 'color': color,
if (outlineColor != null) 'outlineColor': outlineColor,
});
}