OverlayClientHighlightRectAsync Method |
Version 106.0.290
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Namespace:
CefSharp.DevTools.Overlay
Assembly:
CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntax public Task<DevToolsMethodResponse> HighlightRectAsync(
int x,
int y,
int width,
int height,
RGBA color = null,
RGBA outlineColor = null
)
public:
Task<DevToolsMethodResponse^>^ HighlightRectAsync(
int x,
int y,
int width,
int height,
RGBA^ color = nullptr,
RGBA^ outlineColor = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also