WithBackground(Color) Method
Creates a new style from the specified background color.
[Obsolete("Use ctor(..) instead")]
public static Style WithBackground(Color color)
- Namespace
- Spectre
.Console - Containing Type
- Style
Attributes
- ObsoleteAttribute
Parameters
- Color color
- The background color.