StyleExtensions Class
Contains extension methods for
Style
.
public static class StyleExtensions
- Namespace
- Spectre
.Console
Methods
-
static Style Background
(Style, Color) - Creates a new style from the specified one with the specified background color.
-
static Style Decoration
(Style, Decoration) - Creates a new style from the specified one with the specified text decoration.
-
static Style Foreground
(Style, Color) - Creates a new style from the specified one with the specified foreground color.
-
static Style Link
(Style, string) - Creates a new style from the specified one with the specified link.