Struct Style
- Namespace
- Sccg
- Assembly
- Sccg.dll
Represents a style of text.
public readonly struct Style : IEquatable<Style>
- Implements
- Inherited Members
Constructors
- Style(Color?, Color?, Color?, bool, bool, bool, bool, bool, bool, bool, bool, bool)
Initializes a new instance of the Style struct.
Properties
- Background
Background color.
- Bold
Bold text.
- Default
Gets a value indicating whether this style is the default style.
- Foreground
Foreground color.
- Italic
Italic text.
- Modifiers
Modifiers.
- Special
Special color.
- Strikethrough
Strikethrough text.
- Underline
Underline text.
- UnderlineDashed
Under dashed text.
- UnderlineDotted
Under dotted text.
- UnderlineDouble
Under double line text.
- UnderlineWaved
Under waved text.
Methods
- Equals(Style)
Indicates whether the current object is equal to another object of the same type.
- Equals(object?)
Indicates whether this instance and a specified object are equal.
- GetHashCode()
Returns the hash code for this instance.
- ToString()
Converts this Style structure to a human-readable string.
Operators
- operator ==(Style, Style)
Tests whether two specified Style structures are equivalent.
- operator !=(Style, Style)
Tests whether two specified Style structures are different.