RenderOptions Class

Represents render options.
public record RenderOptions : IEquatable<RenderOptions>
Interfaces

Constructors

RenderOptions(IReadOnlyCapabilities, Size)
Represents render options.

Properties

bool Ansi
Gets a value indicating whether or not VT/Ansi codes are supported.
IReadOnlyCapabilities Capabilities
ColorSystem ColorSystem
Gets the current color system.
int? Height
Gets the requested height.
Justify? Justification
Gets the current justification.
bool Unicode
Gets a value indicating whether or not unicode is supported.

Methods

static RenderOptions Create(IAnsiConsole, IReadOnlyCapabilities)
Creates a RenderOptions instance from a IAnsiConsole.