Decoration Enum
Represents text decoration.
[Flags]
public enum Decoration
- Namespace
- Spectre
.Console - Interfaces
-
- IComparable
- ISpanFormattable
- IFormattable
- IConvertible
- Base Types
-
- ValueType
- Enum
Remarks
Support for text decorations is up to the terminal.
Attributes
- FlagsAttribute
Fields
-
0
- No text decoration.
-
1
- Bold text. Not supported in every environment.
-
2
- Dim or faint text. Not supported in every environment.
-
4
- Italic text. Not supported in every environment.
- Underlined text. Not supported in every environment.
-
16
- Swaps the foreground and background colors. Not supported in every environment.
-
32
- Hides the text. Not supported in every environment.
-
64
- Makes text blink. Normally less than 150 blinks per minute. Not supported in every environment.
-
128
- Makes text blink. Normally more than 150 blinks per minute. Not supported in every environment.
-
256
- Shows text with a horizontal line through the center. Not supported in every environment.