IRenderable Interface
Represents something that can be rendered to the console.
public interface IRenderable
- Namespace
- Spectre
.Console .Rendering
Methods
-
abstract Measurement Measure
(RenderOptions, int) - Measures the renderable object.
-
abstract IEnumerable<Segment> Render
(RenderOptions, int) - Renders the object.
Extension Methods
-
T And
<IRenderable> (Action <IRenderable> ) - 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.