Renderable Class
Base class for a renderable object implementing
IRenderable
.
public abstract class Renderable : IRenderable
- Namespace
- Spectre
.Console .Rendering - Interfaces
Methods
-
protected virtual Measurement Measure
(RenderOptions, int) - Measures the renderable object.
-
protected abstract IEnumerable<Segment> Render
(RenderOptions, int) - Renders the object.
Extension Methods
-
IEnumerable<Segment> GetSegments
(IAnsiConsole) - Gets the segments for a renderable using the specified console.