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