Table of Contents

Class DisplayCutoutConfig

Namespace
Selenium.WebDriver.BiDi.Cdp.Overlay
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Configuration for a display cutout.

public sealed record DisplayCutoutConfig : IEquatable<DisplayCutoutConfig>
Inheritance
DisplayCutoutConfig
Implements
Inherited Members

Constructors

DisplayCutoutConfig(Rect, DisplayCutoutShape)

Configuration for a display cutout.

public DisplayCutoutConfig(Rect Rect, DisplayCutoutShape Shape)

Parameters

Rect Rect

A rectangle representing the cutout bounds.

Shape DisplayCutoutShape

Shape used to draw the cutout.

Properties

BorderRadius

Border radius for rounded cutout shapes.

public long? BorderRadius { get; init; }

Property Value

long?

ContentColor

The cutout fill color (default: black).

public RGBA? ContentColor { get; init; }

Property Value

RGBA

Cx

Center x coordinate for circle cutout shapes.

public long? Cx { get; init; }

Property Value

long?

Cy

Center y coordinate for circle cutout shapes.

public long? Cy { get; init; }

Property Value

long?

LowerRadius

Lower transition radius for notch cutout shapes.

public long? LowerRadius { get; init; }

Property Value

long?

Radius

Radius for circle cutout shapes.

public long? Radius { get; init; }

Property Value

long?

Rect

A rectangle representing the cutout bounds.

public Rect Rect { get; init; }

Property Value

Rect

Shape

Shape used to draw the cutout.

public DisplayCutoutShape Shape { get; init; }

Property Value

DisplayCutoutShape

UpperRadius

Upper shoulder radius for notch cutout shapes.

public long? UpperRadius { get; init; }

Property Value

long?