C# Class andengine.opengl.font.Font

Mostra file Open project: jamesburton/AndEngine.net Class Usage Examples

Protected Properties

Property Type Description
LETTER_LEFT_OFFSET float
mCanvas Canvas
mFontMetrics Android.Graphics.Paint.FontMetrics
mPaint System.Paint

Public Methods

Method Description
Font ( Texture pTexture, Typeface pTypeface, float pSize, bool pAntiAlias, int pColor ) : System
GetLetter ( char pCharacter ) : Letter
GetLineGap ( ) : int
GetLineHeight ( ) : int
GetStringWidth ( String pText ) : int
GetTexture ( ) : Texture
Reload ( ) : void
Update ( GL10 pGL ) : void

Protected Methods

Method Description
DrawCharacterString ( String pCharacterAsString ) : void

Private Methods

Method Description
CreateLetter ( char pCharacter ) : Letter
GetLetterAdvance ( char pCharacter ) : int
GetLetterBitmap ( char pCharacter ) : Bitmap
GetLetterBounds ( char pCharacter, Size pSize ) : void

Method Details

DrawCharacterString() protected method

protected DrawCharacterString ( String pCharacterAsString ) : void
pCharacterAsString String
return void

Font() public method

public Font ( Texture pTexture, Typeface pTypeface, float pSize, bool pAntiAlias, int pColor ) : System
pTexture Texture
pTypeface Typeface
pSize float
pAntiAlias bool
pColor int
return System

GetLetter() public method

public GetLetter ( char pCharacter ) : Letter
pCharacter char
return Letter

GetLineGap() public method

public GetLineGap ( ) : int
return int

GetLineHeight() public method

public GetLineHeight ( ) : int
return int

GetStringWidth() public method

public GetStringWidth ( String pText ) : int
pText String
return int

GetTexture() public method

public GetTexture ( ) : Texture
return Texture

Reload() public method

public Reload ( ) : void
return void

Update() public method

public Update ( GL10 pGL ) : void
pGL GL10
return void

Property Details

LETTER_LEFT_OFFSET protected_oe static_oe property

protected static float LETTER_LEFT_OFFSET
return float

mCanvas protected_oe property

protected Canvas mCanvas
return Canvas

mFontMetrics protected_oe property

protected Paint.FontMetrics,Android.Graphics mFontMetrics
return Android.Graphics.Paint.FontMetrics

mPaint protected_oe property

protected Paint,System mPaint
return System.Paint