Click or drag to resize

OverlayClientHighlightRectAsync Method

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

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

Parameters

x
Type: SystemInt32
X coordinate
y
Type: SystemInt32
Y coordinate
width
Type: SystemInt32
Rectangle width
height
Type: SystemInt32
Rectangle height
color (Optional)
Type: CefSharp.DevTools.DOMRGBA
The highlight fill color (default: transparent).
outlineColor (Optional)
Type: CefSharp.DevTools.DOMRGBA
The highlight outline color (default: transparent).

Return Value

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