Пример #1
0
 public Cell Add(string text, string fontName, string colorName)
 {
     if (Skin == null)
     {
         throw new InvalidOperationException("Table must have a skin to use this method.");
     }
     return(Add(new Label(text, new LabelStyle(Skin.GetFont(fontName), Skin.GetColor(colorName)))));
 }
Пример #2
0
 public Label(CharSequence text, Skin skin, string fontName, string colorName)
     : this(text, new LabelStyle(skin.GetFont(fontName), skin.GetColor(colorName)))
 {
 }
Пример #3
0
 public Label(string text, Skin skin, string fontName, string colorName)
     : this(new StringSequence(text ?? ""), new LabelStyle(skin.GetFont(fontName), skin.GetColor(colorName)))
 {
 }