C# Class Sharplike.UI.GlyphMap

A map for quick access to the RenderSystem's Glyphs by other names.
Afficher le fichier Open project: eropple/sharplike Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
Get ( Object key ) : Int32
GlyphMap ( ) : System
LoadDefaults ( GlyphMap glyphMap ) : GlyphMap
Register ( Object key, Int32 glyphIndex ) : void
this ( Object key ) : Int32

Gets or sets the numeric glyph index associated with a given object key. This key is intentionally typeless, but a standard GlyphMap comes preloaded with all glyphs in the GlyphDefaults enumeration, as well as most English glyphs as Char types.

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Get() public méthode

public Get ( Object key ) : Int32
key Object
Résultat System.Int32

GlyphMap() public méthode

public GlyphMap ( ) : System
Résultat System

LoadDefaults() public static méthode

public static LoadDefaults ( GlyphMap glyphMap ) : GlyphMap
glyphMap GlyphMap
Résultat GlyphMap

Register() public méthode

public Register ( Object key, Int32 glyphIndex ) : void
key Object
glyphIndex System.Int32
Résultat void

this() public méthode

Gets or sets the numeric glyph index associated with a given object key. This key is intentionally typeless, but a standard GlyphMap comes preloaded with all glyphs in the GlyphDefaults enumeration, as well as most English glyphs as Char types.
public this ( Object key ) : Int32
key Object The object key for searching.
Résultat System.Int32