ControlCode Class

A control code.
public sealed class ControlCode : Renderable, IRenderable
Namespace
Spectre.Console
Interfaces
Base Types

Constructors

ControlCode(string)
Initializes a new instance of the ControlCode class.

Methods

protected override Measurement Measure(RenderOptions, int)
Measures the renderable object.
protected override IEnumerable<Segment> Render(RenderOptions, int)
Renders the object.

Extension Methods

IEnumerable<Segment> GetSegments(IAnsiConsole)
Gets the segments for a renderable using the specified console.