Align(IRenderable, HorizontalAlignment, VerticalAlignment?) Constructor

Initializes a new instance of the Align class.
public Align(IRenderable renderable, HorizontalAlignment horizontal, VerticalAlignment? vertical = null)
Namespace
Spectre.Console
Containing Type
Align

Parameters

IRenderable renderable
The renderable to align.
HorizontalAlignment horizontal
The horizontal alignment.
VerticalAlignment? vertical
The vertical alignment, or null if none.