Overlay.highlightQuadHighlights given quad. Coordinates are absolute with respect to the main frame viewport.
| Name | Type | Description |
|---|---|---|
quad | DOM.Quad | Quad to highlight |
color (optional) | DOM.RGBA | The highlight fill color (default: transparent). |
outlineColor (optional) | DOM.RGBA | The highlight outline color (default: transparent). |
{
"id": 1,
"method": "Overlay.highlightQuad",
"params": {
"quad": "quad-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Overlay.highlightQuad', {"quad": "quad-value"});
console.log(result);