Пример #1
0
        public BitmapFont(BitmapFontConfig config) : this(config.Texture) {
            CharacterWidth = config.CharacterWidth;
            CharacterHeight = config.CharacterHeight;
            CharCodeOffset = config.CharCodeOffset;
            CharacterOffsetX = config.CharacterOffsetX;
            CharacterOffsetY = config.CharacterOffsetY;

            LineSpacing = config.LineSpacing;
        }
Пример #2
0
        public BitmapFont(BitmapFontConfig config) : this(config.Texture)
        {
            CharacterWidth   = config.CharacterWidth;
            CharacterHeight  = config.CharacterHeight;
            CharCodeOffset   = config.CharCodeOffset;
            CharacterOffsetX = config.CharacterOffsetX;
            CharacterOffsetY = config.CharacterOffsetY;

            LineSpacing = config.LineSpacing;
        }