Point
Represents a point value consisting of two distances.
namespace AngleSharp.Css.Values
{
public struct Point
{
public static readonly Point Center = new Point(Length.Half, Length.Half);
public static readonly Point LeftTop = new Point(Length.Zero, Length.Zero);
public static readonly Point RightTop = new Point(Length.Full, Length.Zero);
public static readonly Point RightBottom = new Point(Length.Full, Length.Full);
public static readonly Point LeftBottom = new Point(Length.Zero, Length.Full);
private readonly Length _x;
private readonly Length _y;
public Length X => _x;
public Length Y => _y;
public Point(Length x, Length y)
{
_x = x;
_y = y;
}
}
}