public LNLabelAtlas(string fsName, LNLabelAtlas.LabelType type, string text, char startchar, int itemWidth, int itemHeight, int charWidth) : base(fsName, itemWidth, itemHeight) { this.fs = LNDataCache.GetFrameStruct(fsName); base._left = (int)this.fs._textCoords.x; base._top = (int)this.fs._textCoords.y; this._type = type; this._charWidth = charWidth; this._startchar = startchar; this.SetString(text); }
public LNLabelAtlas(string fsName, LNLabelAtlas.LabelType type, string text, char startchar, int itemWidth, int itemHeight, int charWidth):base(fsName, itemWidth, itemHeight) { this.fs = LNDataCache.GetFrameStruct(fsName); base._left = (int) this.fs._textCoords.x; base._top = (int) this.fs._textCoords.y; this._type = type; this._charWidth = charWidth; this._startchar = startchar; this.SetString(text); }
public LNLabelAtlas() { this._type = LabelType.TEXT_ALIGNMENT_LEFT; }