WithDecoration(Decoration) Method
Creates a new style from the specified text decoration.
[Obsolete("Use ctor(..) instead")]
public static Style WithDecoration(Decoration decoration)
- Namespace
- Spectre
.Console - Containing Type
- Style
Attributes
- ObsoleteAttribute
Parameters
- Decoration decoration
- The text decoration.