Ejemplo n.º 1
0
 public LNLabel(string text, LNLabel.LabelType type, LFont spriteFont)
     : base()
 {
     this._spriteFont = spriteFont;
     this._type = type;
     SetString(text);
     this.SetNodeSize(_spriteFont.StringWidth(text), _spriteFont.GetHeight());
 }
Ejemplo n.º 2
0
 public LNLabel(string text, LNLabel.LabelType type, LFont spriteFont)
     : base()
 {
     this._spriteFont = spriteFont;
     this._type       = type;
     SetString(text);
     this.SetNodeSize(_spriteFont.StringWidth(text), _spriteFont.GetHeight());
 }
Ejemplo n.º 3
0
		public LNLabel() {
			this._type = LabelType.TEXT_ALIGNMENT_LEFT;
			this._spriteFont = LFont.GetDefaultFont();
			this.SetNodeSize(1, 1);
		}
Ejemplo n.º 4
0
 public LNLabel(string text, LNLabel.LabelType type) : this(text, type, LFont.GetDefaultFont())
 {
 }
Ejemplo n.º 5
0
 public LNLabel()
 {
     this._type       = LabelType.TEXT_ALIGNMENT_LEFT;
     this._spriteFont = LFont.GetDefaultFont();
     this.SetNodeSize(1, 1);
 }