class MAGES::Theme::FontData

Overview

Represents the data required for creating/rendering labels. More…

class FontData: public ICloneable
{
public:
    // properties

    TMP_FontAsset FontAsset;
    float Size;
    FontStyles Style;
    Color Color;
    Color BackgroundColor;
    Color OutlineColor;
    float OutlineWidth;

    // methods

    object Clone();
};

Detailed Documentation

Represents the data required for creating/rendering labels.

Properties

TMP_FontAsset FontAsset

Gets or sets the font asset.

float Size

Gets or sets the font size.

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.