Exemple #1
0
 public Label(string text, LabelStyle style)
     : this(new StringSequence(text ?? ""), style)
 {
 }
Exemple #2
0
 public void AddText(string text, LabelStyle labelStyle)
 {
     AddText(new Label(text, labelStyle));
 }
Exemple #3
0
 public LabelStyle(LabelStyle style)
 {
     Font = style.Font;
     FontColor = style.FontColor;
     Background = style.Background;
 }
Exemple #4
0
        public Label(CharSequence text, LabelStyle style)
        {
            if (text != null)
                TextSequence = text;

            Style = style;
            Width = PrefWidth;
            Height = PrefHeight;
        }
Exemple #5
0
 public void AddText(string text, LabelStyle labelStyle)
 {
     AddText(new Label(text, labelStyle));
 }
Exemple #6
0
 public Label(string text, LabelStyle style)
     : this(new StringSequence(text ?? ""), style)
 {
 }
Exemple #7
0
 public LabelStyle(LabelStyle style)
 {
     Font       = style.Font;
     FontColor  = style.FontColor;
     Background = style.Background;
 }