Table of Contents

Class DisplayCutoutConfig

Namespace
OpenQA.Selenium.DevTools.V151.Overlay
Assembly
Selenium.WebDriver.dll

Configuration for a display cutout.

public sealed class DisplayCutoutConfig
Inheritance
DisplayCutoutConfig
Inherited Members

Properties

BorderRadius

Border radius for rounded cutout shapes.

[JsonPropertyName("borderRadius")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? BorderRadius { get; set; }

Property Value

long?

ContentColor

The cutout fill color (default: black).

[JsonPropertyName("contentColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? ContentColor { get; set; }

Property Value

RGBA

Cx

Center x coordinate for circle cutout shapes.

[JsonPropertyName("cx")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Cx { get; set; }

Property Value

long?

Cy

Center y coordinate for circle cutout shapes.

[JsonPropertyName("cy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Cy { get; set; }

Property Value

long?

LowerRadius

Lower transition radius for notch cutout shapes.

[JsonPropertyName("lowerRadius")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? LowerRadius { get; set; }

Property Value

long?

Radius

Radius for circle cutout shapes.

[JsonPropertyName("radius")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Radius { get; set; }

Property Value

long?

Rect

A rectangle representing the cutout bounds.

[JsonPropertyName("rect")]
public Rect Rect { get; set; }

Property Value

Rect

Shape

Shape used to draw the cutout.

[JsonPropertyName("shape")]
public DisplayCutoutShape Shape { get; set; }

Property Value

DisplayCutoutShape

UpperRadius

Upper shoulder radius for notch cutout shapes.

[JsonPropertyName("upperRadius")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? UpperRadius { get; set; }

Property Value

long?