Renderable Class

Base class for a renderable object implementing IRenderable.
public abstract class Renderable : IRenderable

Methods

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

Extension Methods

T And<Renderable>(Action<Renderable>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.
IEnumerable<Segment> GetSegments(IAnsiConsole)
Gets the segments for a renderable using the specified console.