Segment(string, Style) Constructor
Initializes a new instance of the
Segment
class.
public Segment(string text, Style style)
- Namespace
- Spectre
.Console .Rendering - Containing Type
- Segment
Parameters
- string text
- The segment text.
- Style style
- The segment style.