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

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