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))))); }
public Label(CharSequence text, Skin skin, string fontName, string colorName) : this(text, new LabelStyle(skin.GetFont(fontName), skin.GetColor(colorName))) { }
public Label(string text, Skin skin, string fontName, string colorName) : this(new StringSequence(text ?? ""), new LabelStyle(skin.GetFont(fontName), skin.GetColor(colorName))) { }