Click or drag to resize
HyperTextStyles Class
A class for describing different styles for a HyperText component.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      Candlelight.UIHyperTextStyles

Namespace: Candlelight.UI
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public class HyperTextStyles : ScriptableObject

The HyperTextStyles type exposes the following members.

Properties
  NameDescription
Public propertyCascadedDefaultFontStyle
Gets the cascaded default font style.
Public propertyCascadedDefaultLinkStyle
Gets the cascaded default link style.
Public propertyCascadedDefaultTextColor
Gets the cascaded default text color.
Public propertyCascadedFont
Gets the cascaded font.
Public propertyCascadedFontSize
Gets the cascaded font size.
Public propertyCascadedLineSpacing
Gets the cascaded line spacing.
Public propertyCascadedLinkHitboxPadding
Gets the cascaded link hitbox padding.
Public propertyDefaultFontStyle
Gets or sets the default font style.
Public propertyDefaultLinkStyle
Gets or sets the default link style.
Public propertyDefaultTextColor
Gets or sets the default color of the text.
Public propertyFont
Gets or sets the font defined on this instance.
Public propertyFontSize
Gets or sets the size of the font.
Public propertyLineSpacing
Gets or sets the line spacing.
Public propertyLinkHitboxPadding
Gets a value indicating the number of units on each side that link hitboxes should extend beyond the bounds of the glyph geometry. Use positive values to generate link hitboxes that are larger than their encapsulated geometry (for, e.g., small screen devices).
Public propertyShouldOverrideInheritedDefaultFontStyle
Gets or sets a value indicating whether this instance should override the inherited default font style.
Public propertyShouldOverrideInheritedDefaultLinkStyle
Gets or sets a value indicating whether this instance should override the inherited default link style.
Public propertyShouldOverrideInheritedDefaultTextColor
Gets or sets a value indicating whether this instance should override the inherited default text color.
Public propertyShouldOverrideInheritedFontSize
Gets or sets a value indicating whether this instance should override the inherited font size.
Public propertyShouldOverrideInheritedLineSpacing
Gets or sets a value indicating whether this instance should override the inherited line spacing.
Public propertyShouldOverrideInheritedLinkHitboxPadding
Gets or sets a value indicating whether this instance should override the inherited link hitbox padding.
Top
Methods
  NameDescription
Public methodGetCascadedCustomTextStyles(ListHyperTextStylesText)
Gets the cascaded custom text styles.
Public methodGetCascadedCustomTextStyles(ListHyperTextStylesText) Obsolete.
Public methodGetCascadedLinkStyles(ListHyperTextStylesLinkSubclass)
Gets the cascaded link styles.
Public methodGetCascadedLinkStyles(ListHyperTextStylesLinkSubclass) Obsolete.
Public methodGetCascadedQuadStyles(ListHyperTextStylesQuad)
Gets the cascaded quad styles.
Public methodGetCascadedQuadStyles(ListHyperTextStylesQuad) Obsolete.
Public methodGetCustomTextStyles(ListHyperTextStylesText)
Gets the custom text styles.
Public methodGetCustomTextStyles(ListHyperTextStylesText) Obsolete.
Public methodGetInheritedCustomTextStyles
Gets a table of the inherited custom text styles and the sheets on which they are defined.
Public methodGetInheritedLinkStyles
Gets a table of the inherited link styles and the sheets on which they are defined.
Public methodGetInheritedQuadStyles
Gets a table of the inherited quad styles and the sheets on which they are defined.
Public methodGetInheritedStyles(ListHyperTextStyles)
Gets the inherited styles.
Public methodGetInheritedStyles(ListHyperTextStyles) Obsolete.
Public methodGetLinkStyles(ListHyperTextStylesLinkSubclass)
Gets the link styles.
Public methodGetLinkStyles(ListHyperTextStylesLinkSubclass) Obsolete.
Public methodGetQuadStyles(ListHyperTextStylesQuad)
Gets the quad styles.
Public methodGetQuadStyles(ListHyperTextStylesQuad) Obsolete.
Public methodSetCustomTextStyles(IEnumerableHyperTextStylesText) Obsolete.
Public methodSetCustomTextStyles(IListHyperTextStylesText)
Sets the custom text styles.
Public methodSetDirty
Sets this instance dirty in order to force a styles changed callback.
Public methodSetInheritedStyles(IEnumerableHyperTextStyles) Obsolete.
Public methodSetInheritedStyles(IListHyperTextStyles)
Sets the list of styles to inherit from. Any custom link classes, tags, or quads specified on these sheets will be inherited, with preference given to those specified later in the array. If this instance defines any of the items, they will be considered overrides.
Public methodSetLinkStyles(IEnumerableHyperTextStylesLinkSubclass) Obsolete.
Public methodSetLinkStyles(IListHyperTextStylesLinkSubclass)
Sets the link styles.
Public methodSetQuadStyles(IEnumerableHyperTextStylesQuad) Obsolete.
Public methodSetQuadStyles(IListHyperTextStylesQuad)
Sets the quad styles.
Top
Events
  NameDescription
Public eventChanged
Occurs when a property on this instance changes.
Top
Extension Methods
  NameDescription
Public Extension MethodGetPrefabName
Gets the name of the prefab associated with the supplied instance.
(Defined by ObjectX.)
Public Extension MethodOpenReferencePage
Opens a reference web page generated for the specified object.
(Defined by ObjectX.)
Top
See Also