RenderOptions Class
Represents render options.
public record RenderOptions : IEquatable<RenderOptions>
- Namespace
- Spectre
.Console .Rendering - Interfaces
-
- IEquatable
<RenderOptions>
- IEquatable
Constructors
-
RenderOptions
( I Read Only Capabilities, 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.
- Size ConsoleSize
- 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, I Read Only Capabilities) -
Creates a
RenderOptions
instance from aIAnsiConsole
.