GetSegments(IRenderable, IAnsiConsole) Method
Gets the segments for a renderable using the specified console.
public static IEnumerable<Segment> GetSegments(this IRenderable renderable, IAnsiConsole console)
- Namespace
- Spectre
.Console - Containing Type
- RenderableExtensions
Parameters
- IRenderable renderable
- The renderable.
- IAnsiConsole console
- The console.
Returns
-
IEnumerable
<Segment>