highlightQuad method

Future<void> highlightQuad(
  1. Quad quad, {
  2. RGBA? color,
  3. RGBA? outlineColor,
})

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,
  });
}