Class BoxModel
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
ContentImmutableArray<double>Content box
PaddingImmutableArray<double>Padding box
BorderImmutableArray<double>Border box
MarginImmutableArray<double>Margin box
WidthlongNode width
HeightlongNode height
Properties
Border
Border box
public ImmutableArray<double> Border { get; init; }
Property Value
Content
Content box
public ImmutableArray<double> Content { get; init; }
Property Value
Height
Node height
public long Height { get; init; }
Property Value
Margin
Margin box
public ImmutableArray<double> Margin { get; init; }
Property Value
Padding
Padding box
public ImmutableArray<double> Padding { get; init; }
Property Value
ShapeOutside
Shape outside coordinates
public ShapeOutsideInfo? ShapeOutside { get; init; }
Property Value
Width
Node width
public long Width { get; init; }