Click or drag to resize

OverlayClientHighlightRectAsync Method

Version 130.1.90
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.

Namespace: CefSharp.DevTools.Overlay
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> HighlightRectAsync(
	int x,
	int y,
	int width,
	int height,
	RGBA color = null,
	RGBA outlineColor = null
)

Parameters

x  Int32
X coordinate
y  Int32
Y coordinate
width  Int32
Rectangle width
height  Int32
Rectangle height
color  RGBA  (Optional)
The highlight fill color (default: transparent).
outlineColor  RGBA  (Optional)
The highlight outline color (default: transparent).

Return Value

TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also