Style(Color?, Color?, Decoration?, string) Constructor

Initializes a new instance of the Style class.
public Style(Color? foreground = null, Color? background = null, Decoration? decoration = null, string link = null)
Namespace
Spectre.Console
Containing Type
Style

Parameters

Color? foreground
The foreground color.
Color? background
The background color.
Decoration? decoration
The text decoration.
string link
The link.