Esempio n. 1
0
 public dfMarkupStyle(dfDynamicFont Font, int FontSize, UnityEngine.FontStyle FontStyle)
 {
     this.Host               = null;
     this.Atlas              = null;
     this.Font               = Font;
     this.FontSize           = FontSize;
     this.FontStyle          = FontStyle;
     this.Align              = dfMarkupTextAlign.Left;
     this.VerticalAlign      = dfMarkupVerticalAlign.Baseline;
     this.Color              = UnityEngine.Color.white;
     this.BackgroundColor    = UnityEngine.Color.clear;
     this.TextDecoration     = dfMarkupTextDecoration.None;
     this.PreserveWhitespace = false;
     this.Preformatted       = false;
     this.WordSpacing        = 0;
     this.CharacterSpacing   = 0;
     this.lineHeight         = 0;
     this.Opacity            = 1f;
 }
Esempio n. 2
0
    public dfMarkupStyle( dfDynamicFont Font, int FontSize, FontStyle FontStyle )
    {
        Host = null;
        Atlas = null;

        this.Font = Font;
        this.FontSize = FontSize;
        this.FontStyle = FontStyle;

        Align = dfMarkupTextAlign.Left;
        VerticalAlign = dfMarkupVerticalAlign.Baseline;
        Color = UnityEngine.Color.white;
        BackgroundColor = UnityEngine.Color.clear;
        TextDecoration = dfMarkupTextDecoration.None;

        PreserveWhitespace = false;
        Preformatted = false;
        WordSpacing = 0;
        CharacterSpacing = 0;
        lineHeight = 0;
        Opacity = 1f;
    }