Click or drag to resize
RichTextStyle Structure
A collection of different rich text styling parameters.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public struct RichTextStyle : IPropertyBackingFieldCompatible<RichTextStyle>, 
	IPropertyBackingFieldCompatible, ICloneable, IEquatable<RichTextStyle>

The RichTextStyle type exposes the following members.

Constructors
  NameDescription
Public methodRichTextStyle(Color)
Initializes a new instance of the RichTextStyle struct. Use this constructor for styles to be used for non-dynamic fonts.
Public methodRichTextStyle(Single, FontStyle)
Initializes a new instance of the RichTextStyle struct.
Public methodRichTextStyle(Single, FontStyle, Color)
Initializes a new instance of the RichTextStyle struct.
Top
Properties
  NameDescription
Public propertyColorString
Gets the color string.
Public propertyStatic memberDefaultStyle
Gets the default style.
Public propertyFontStyle
Gets or sets the font style.
Public propertyNonDynamicVersion
Gets the non dynamic version of this RichTextStyle.
Public propertyReplacementColor
Gets the color of the replacement.
Public propertyShouldReplaceColor
Gets a value indicating whether this instance should replace the glyph color.
Public propertySizeScalar
Gets the font size scalar.
Top
Methods
  NameDescription
Public methodClone
Clone this instance.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current RichTextStyle.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(RichTextStyle)
Determines whether the specified RichTextStyle is equal to the current RichTextStyle.
Public methodStatic memberGetEndTag
Gets the end tag for the specified style.
Public methodGetHashCode
Serves as a hash function for a RichTextStyle object.
(Overrides ValueTypeGetHashCode.)
Public methodGetSerializedPropertiesHash
Gets a hash value that is based on the values of the serialized properties of this instance.
Public methodGetSize
Gets the size of this style based on that of the surrounding text.
Public methodStatic memberGetStartTag
Gets the start tag for the specified style.
Public methodToEndTag
Creates a string representation of an end tag for the style.
Public methodToStartTag
Creates a string representation of a start tag for the style.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether or not the two RichTextStyles are equal to one another.
Public operatorStatic memberInequality
Gets a value indicating whether or not the two RichTextStyles are unequal to one another.
Top
See Also