| RichTextStyle Structure |
Namespace: Candlelight
[SerializableAttribute] public struct RichTextStyle : IPropertyBackingFieldCompatible<RichTextStyle>, IPropertyBackingFieldCompatible, ICloneable, IEquatable<RichTextStyle>
The RichTextStyle type exposes the following members.
| Name | Description | |
|---|---|---|
| RichTextStyle(Color) |
Initializes a new instance of the RichTextStyle struct. Use this constructor for
styles to be used for non-dynamic fonts.
| |
| RichTextStyle(Single, FontStyle) |
Initializes a new instance of the RichTextStyle struct.
| |
| RichTextStyle(Single, FontStyle, Color) |
Initializes a new instance of the RichTextStyle struct.
|
| Name | Description | |
|---|---|---|
| ColorString |
Gets the color string.
| |
| DefaultStyle |
Gets the default style.
| |
| FontStyle |
Gets or sets the font style.
| |
| NonDynamicVersion |
Gets the non dynamic version of this RichTextStyle.
| |
| ReplacementColor |
Gets the color of the replacement.
| |
| ShouldReplaceColor |
Gets a value indicating whether this instance should replace the glyph color.
| |
| SizeScalar |
Gets the font size scalar.
|
| Name | Description | |
|---|---|---|
| Clone |
Clone this instance.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current
RichTextStyle.
(Overrides ValueTypeEquals(Object).) | |
| Equals(RichTextStyle) |
Determines whether the specified RichTextStyle is equal to the current
RichTextStyle.
| |
| GetEndTag |
Gets the end tag for the specified style.
| |
| GetHashCode |
Serves as a hash function for a RichTextStyle object.
(Overrides ValueTypeGetHashCode.) | |
| GetSerializedPropertiesHash |
Gets a hash value that is based on the values of the serialized properties of this instance.
| |
| GetSize |
Gets the size of this style based on that of the surrounding text.
| |
| GetStartTag |
Gets the start tag for the specified style.
| |
| ToEndTag |
Creates a string representation of an end tag for the style.
| |
| ToStartTag |
Creates a string representation of a start tag for the style.
|
| Name | Description | |
|---|---|---|
| Equality |
Gets a value indicating whether or not the two RichTextStyles are equal to one another.
| |
| Inequality |
Gets a value indicating whether or not the two RichTextStyles are unequal to one another.
|