示例#1
0
文件: Label.cs 项目: fordream/Sunfish
 public Label(string text, Font labelFont, Color textColor, Vector2 position, Constants.ViewLayer layer)
     : base(position, layer)
 {
     LabelFont = labelFont;
     Height = LabelFont.FontHeight;
     TextColor = textColor;
     SetText (text);
 }
示例#2
0
文件: Label.cs 项目: fordream/Sunfish
 public Label(string text, Font labelFont, Color textColor, Constants.ViewLayer layer)
     : this(text, labelFont, textColor, new Vector2(0,0), layer)
 {
 }
示例#3
0
文件: Label.cs 项目: fordream/Sunfish
 public Label(string text, Font labelFont, Color textColor, Vector2 position)
     : this(text, labelFont, textColor, position, Constants.ViewLayer.Layer1)
 {
 }