Click or drag to resize

OverlayClientHighlightRectAsync Method

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

Namespace:  CefSharp.DevTools.Overlay
Assembly:  CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.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