Point

A point in the layout coordinate space (origin top-left, y grows downward).
public readonly record struct Point(double X, double Y)

Constructors

Initializes a new instance of the Point struct.

public Point(
  double X,
  double Y)
ParameterSummary
double XThe horizontal coordinate.
double YThe vertical coordinate.

Properties

X

The horizontal coordinate.

Type: double

public double X { get; init; }

Y

The vertical coordinate.

Type: double

public double Y { get; init; }

Fields

Zero

The origin (0, 0).

Type: Point

public static readonly Point Zero