C# Class BMFont, TheUnseen

Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Clear the glyphs.

GetGlyph ( int index ) : BMGlyph,

Retrieve the specified glyph, if it's present.

GetGlyph ( int index, bool createIfMissing ) : BMGlyph,

Helper function that retrieves the specified glyph, creating it if necessary.

Trim ( int xMin, int yMin, int xMax, int yMax ) : void

Trim the glyphs, ensuring that they will never go past the specified bounds.

Method Details

Clear() public method

Clear the glyphs.
public Clear ( ) : void
return void

GetGlyph() public method

Retrieve the specified glyph, if it's present.
public GetGlyph ( int index ) : BMGlyph,
index int
return BMGlyph,

GetGlyph() public method

Helper function that retrieves the specified glyph, creating it if necessary.
public GetGlyph ( int index, bool createIfMissing ) : BMGlyph,
index int
createIfMissing bool
return BMGlyph,

Trim() public method

Trim the glyphs, ensuring that they will never go past the specified bounds.
public Trim ( int xMin, int yMin, int xMax, int yMax ) : void
xMin int
yMin int
xMax int
yMax int
return void