SparrowSharp.Fonts.BitmapChar.BitmapChar C# (CSharp) Method

BitmapChar() public method

Initializes a char with a texture and its properties.
public BitmapChar ( int charId, Texture texture, float xOffset, float yOffset, float xAdvance ) : System.Collections.Generic
charId int
texture Sparrow.Textures.Texture
xOffset float
yOffset float
xAdvance float
return System.Collections.Generic
        public BitmapChar(int charId, Texture texture, float xOffset, float yOffset, float xAdvance)
        {
            CharId = charId;
            XAdvance = xAdvance;
            Texture = texture;
            XOffset = xOffset;
            YOffset = yOffset;
        }

Same methods

BitmapChar::BitmapChar ( Texture texture ) : System.Collections.Generic