コード例 #1
0
ファイル: LNLabel.cs プロジェクト: 207h2Flogintvg/LGame
 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());
 }
コード例 #2
0
ファイル: LNLabel.cs プロジェクト: zx8326123/LGame
 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());
 }
コード例 #3
0
ファイル: LNLabel.cs プロジェクト: 207h2Flogintvg/LGame
		public LNLabel() {
			this._type = LabelType.TEXT_ALIGNMENT_LEFT;
			this._spriteFont = LFont.GetDefaultFont();
			this.SetNodeSize(1, 1);
		}
コード例 #4
0
ファイル: LNLabel.cs プロジェクト: zx8326123/LGame
 public LNLabel(string text, LNLabel.LabelType type) : this(text, type, LFont.GetDefaultFont())
 {
 }
コード例 #5
0
ファイル: LNLabel.cs プロジェクト: zx8326123/LGame
 public LNLabel()
 {
     this._type       = LabelType.TEXT_ALIGNMENT_LEFT;
     this._spriteFont = LFont.GetDefaultFont();
     this.SetNodeSize(1, 1);
 }