예제 #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)
 {
 }