Table of Contents

Class DisplayFeature

Namespace
Selenium.WebDriver.BiDi.Cdp.Emulation
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record DisplayFeature : IEquatable<DisplayFeature>
Inheritance
DisplayFeature
Implements
Inherited Members

Constructors

DisplayFeature(string, long, long)

public DisplayFeature(string Orientation, long Offset, long MaskLength)

Parameters

Orientation string

Orientation of a display feature in relation to screen

Offset long

The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.

MaskLength long

A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.

Properties

MaskLength

A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.

public long MaskLength { get; init; }

Property Value

long

Offset

The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.

public long Offset { get; init; }

Property Value

long

Orientation

Orientation of a display feature in relation to screen

public string Orientation { get; init; }

Property Value

string