Click or drag to resize

Overlay Class

Version 85.3.121
This domain provides various functionality related to drawing atop the inspected page.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainBase
    CefSharp.DevTools.OverlayOverlay

Namespace:  CefSharp.DevTools.Overlay
Assembly:  CefSharp (in CefSharp.dll) Version: 85.3.121.0 (85.3.121.0)
Syntax
public class Overlay : DevToolsDomainBase

The Overlay type exposes the following members.

Constructors
  NameDescription
Public methodOverlay
Initializes a new instance of the Overlay class
Top
Methods
  NameDescription
Public methodDisableAsync
Disables domain notifications.
Public methodEnableAsync
Enables domain notifications.
Protected methodEnumToString(Enum) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(PermissionType) (Inherited from DevToolsDomainBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHighlightObjectForTestAsync
For testing.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHideHighlightAsync
Hides any highlight.
Public methodHighlightFrameAsync
Highlights owner element of the frame with given id.
Public methodHighlightNodeAsync
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Public methodHighlightQuadAsync
Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
Public methodHighlightRectAsync
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetInspectModeAsync
Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
Public methodSetPausedInDebuggerMessageAsync
SetPausedInDebuggerMessage
Public methodSetShowAdHighlightsAsync
Highlights owner element of all frames detected to be ads.
Public methodSetShowDebugBordersAsync
Requests that backend shows debug borders on layers
Public methodSetShowFPSCounterAsync
Requests that backend shows the FPS counter
Public methodSetShowHingeAsync
Add a dual screen device hinge
Public methodSetShowHitTestBordersAsync
Requests that backend shows hit-test borders on layers
Public methodSetShowLayoutShiftRegionsAsync
Requests that backend shows layout shift regions
Public methodSetShowPaintRectsAsync
Requests that backend shows paint rectangles
Public methodSetShowScrollBottleneckRectsAsync
Requests that backend shows scroll bottleneck rects
Public methodSetShowViewportSizeOnResizeAsync
Paints viewport size upon main frame resize.
Protected methodToBase64String (Inherited from DevToolsDomainBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also