class MAGES::Theme::FontData¶
Overview¶
Represents the data required for creating/rendering labels. More…
class FontData: public ICloneable { public: // properties TMPro.TMP_FontAsset Asset; float Size; TMPro.FontStyles Style; Color Color; Color BackgroundColor; Color OutlineColor; float OutlineWidth; // methods object Clone(); };
Detailed Documentation¶
Represents the data required for creating/rendering labels.
Properties¶
TMPro.TMP_FontAsset Asset
Gets or sets the font asset.
float Size
Gets or sets the font size.
TMPro.FontStyles Style
Gets or sets the font style.
Color Color
Gets or sets the font color.
Color BackgroundColor
Gets or sets the background color.
Color OutlineColor
Gets or sets the outline color.
float OutlineWidth
Gets or sets the outline width.
Methods¶
object Clone()
Clone the object.
Returns:
A copy of this.