示例#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;
        }