#nullable enable
namespace Terminal.Gui;
///
/// Represents an absolute position in the layout. This is used to specify a fixed position in the layout.
///
///
///
/// This is a low-level API that is typically used internally by the layout system. Use the various static
/// methods on the class to create objects instead.
///
///
///
public record PosAbsolute (int Position) : Pos
{
///
/// The position of the in the layout.
///
public int Position { get; } = Position;
///
public override string ToString () { return $"Absolute({Position})"; }
internal override int GetAnchor (int size) { return Position; }
}