C# Class BMFont, TheUnseen

Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Clear the glyphs.
public Clear ( ) : void
Résultat void

GetGlyph() public méthode

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

GetGlyph() public méthode

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

Trim() public méthode

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
Résultat void