Table of Contents

Class BoxModel

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

An array of quad vertices, x immediately followed by y for each point, points clock-wise.

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

Constructors

BoxModel(ImmutableArray<double>, ImmutableArray<double>, ImmutableArray<double>, ImmutableArray<double>, long, long)

An array of quad vertices, x immediately followed by y for each point, points clock-wise.

public BoxModel(ImmutableArray<double> Content, ImmutableArray<double> Padding, ImmutableArray<double> Border, ImmutableArray<double> Margin, long Width, long Height)

Parameters

Content ImmutableArray<double>

Content box

Padding ImmutableArray<double>

Padding box

Border ImmutableArray<double>

Border box

Margin ImmutableArray<double>

Margin box

Width long

Node width

Height long

Node height

Properties

Border

Border box

public ImmutableArray<double> Border { get; init; }

Property Value

ImmutableArray<double>

Content

Content box

public ImmutableArray<double> Content { get; init; }

Property Value

ImmutableArray<double>

Height

Node height

public long Height { get; init; }

Property Value

long

Margin

Margin box

public ImmutableArray<double> Margin { get; init; }

Property Value

ImmutableArray<double>

Padding

Padding box

public ImmutableArray<double> Padding { get; init; }

Property Value

ImmutableArray<double>

ShapeOutside

Shape outside coordinates

public ShapeOutsideInfo? ShapeOutside { get; init; }

Property Value

ShapeOutsideInfo

Width

Node width

public long Width { get; init; }

Property Value

long