AlignableExtensions Class
Contains extension methods for
IAlignable.
public static class AlignableExtensions
- Namespace
- Spectre
.Console
Methods
-
static T Alignment
<T> (T, Justify?) -
Sets the alignment for an
IAlignableobject. -
static T Centered
<T> (T) -
Sets the
IAlignableobject to be centered. -
static T LeftAligned
<T> (T) -
Sets the
IAlignableobject to be left aligned. -
static T RightAligned
<T> (T) -
Sets the
IAlignableobject to be right aligned.