Class Pos | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Describes the position of a View which can be an absolute value, a percentage, centered, or relative to the ending dimension. Integer values are implicitly convertible to an absolute Pos. These objects are created using the static methods Percent, AnchorEnd, and Center. The Pos objects can be combined with the addition and subtraction operators.
Inheritance
Pos
Inherited Members
Methods
Creates a Pos object that is anchored to the end (right side or bottom) of the dimension, useful to flush the layout from the right or bottom.
Creates an Absolute Pos from the specified integer value.
Returns a Pos object tracks the Bottom (Y+Height) coordinate of the specified View
Returns a Pos object that can be used to center the View
Determines whether the specified object is equal to the current object.
Creates a "PosFunc" from the specified function.
Serves as the default hash function.
Returns a Pos object tracks the Left (X) position of the specified View.
Creates a percentage Pos object
Returns a Pos object tracks the Right (X+Width) coordinate of the specified View.
Returns a Pos object tracks the Top (Y) position of the specified View.
Returns a Pos object tracks the Left (X) position of the specified View.
Returns a Pos object tracks the Top (Y) position of the specified View.
Operators
Adds a Pos to a Pos, yielding a new Pos.
Creates an Absolute Pos from the specified integer value.