C# 클래스 Sharplike.UI.GlyphMap

A map for quick access to the RenderSystem's Glyphs by other names.
파일 보기 프로젝트 열기: eropple/sharplike 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Get() 공개 메소드

public Get ( Object key ) : Int32
key Object
리턴 System.Int32

GlyphMap() 공개 메소드

public GlyphMap ( ) : System
리턴 System

LoadDefaults() 공개 정적인 메소드

public static LoadDefaults ( GlyphMap glyphMap ) : GlyphMap
glyphMap GlyphMap
리턴 GlyphMap

Register() 공개 메소드

public Register ( Object key, Int32 glyphIndex ) : void
key Object
glyphIndex System.Int32
리턴 void

this() 공개 메소드

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.
리턴 System.Int32