BoundingBox
Namespace: E2E.Engine
public sealed record BoundingBox : IEquatable<BoundingBox>A viewport-relative rectangle in CSS pixels.
Inheritance: object
Implements: IEquatable<BoundingBox>
Constructors
Section titled “Constructors”BoundingBox(double, double, double, double)
Section titled “BoundingBox(double, double, double, double)”public BoundingBox(double X, double Y, double Width, double Height)A viewport-relative rectangle in CSS pixels.
Parameters
| Name | Type | Description |
|---|---|---|
X |
double | |
Y |
double | |
Width |
double | |
Height |
double |
Properties
Section titled “Properties”Height
Section titled “Height”public double Height { get; init; }Value: double
public double Width { get; init; }Value: double
public double X { get; init; }Value: double
public double Y { get; init; }Value: double