MeasuredAlign
ClassRepresents a renderable used to align content.
Namespace:
RazorConsole.Core.RenderablesAssembly:
RazorConsole.CoreDefinition
public sealed class MeasuredAlign : RenderableConstructors
1| Name | Type | Description |
|---|---|---|
MeasuredAlign(IRenderable, HorizontalAlignment, VerticalAlignment?)() | Constructor | Initializes a new instance of the Align class. |
Properties
4| Name | Type | Description |
|---|---|---|
Appearance | ||
Height | Nullable<Int32> | Gets or sets the height. |
Width | Nullable<Int32> | Gets or sets the width. |
Other | ||
Horizontal | HorizontalAlignment | Gets or sets the horizontal alignment. |
Vertical | Nullable<VerticalAlignment> | Gets or sets the vertical alignment. |
Methods
3| Name | Type | Description |
|---|---|---|
AlignHorizontally<T>(T, HorizontalAlignment, int)() | Method | — |
Measure(RenderOptions, int)() | Measurement | — |
Render(RenderOptions, int)() | IEnumerable<Segment> | — |