C# Class MonoGdx.Graphics.G2D.BitmapFontCache

Datei anzeigen Open project: jaquadro/MonoGdx

Public Methods

Method Description
AddMultiLineText ( CharSequence str, float x, float y ) : TextBounds
AddMultiLineText ( CharSequence str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
AddMultiLineText ( string str, float x, float y ) : TextBounds
AddMultiLineText ( string str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
AddText ( CharSequence str, float x, float y ) : TextBounds
AddText ( CharSequence str, float x, float y, int start, int end ) : TextBounds
AddText ( string str, float x, float y ) : TextBounds
AddText ( string str, float x, float y, int start, int end ) : TextBounds
AddWrappedText ( CharSequence str, float x, float y, float wrapWidth ) : TextBounds
AddWrappedText ( CharSequence str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
AddWrappedText ( string str, float x, float y, float wrapWidth ) : TextBounds
AddWrappedText ( string str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
BitmapFontCache ( BitmapFont font ) : System
BitmapFontCache ( BitmapFont font, bool integer ) : System
Clear ( ) : void
Draw ( GdxSpriteBatch spriteBatch ) : void
Draw ( GdxSpriteBatch spriteBatch, float alphaModulation ) : void
Draw ( GdxSpriteBatch spriteBatch, int start, int end ) : void
SetColor ( Color tint, int start, int end ) : void
SetMultiLineText ( CharSequence str, float x, float y ) : TextBounds
SetMultiLineText ( CharSequence str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
SetMultiLineText ( string str, float x, float y ) : TextBounds
SetMultiLineText ( string str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
SetPosition ( float x, float y ) : void
SetText ( CharSequence str, float x, float y ) : TextBounds
SetText ( CharSequence str, float x, float y, int start, int end ) : TextBounds
SetText ( string str, float x, float y ) : TextBounds
SetText ( string str, float x, float y, int start, int end ) : TextBounds
SetWrappedText ( CharSequence str, float x, float y, float wrapWidth ) : TextBounds
SetWrappedText ( CharSequence str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
SetWrappedText ( string str, float x, float y, float wrapWidth ) : TextBounds
SetWrappedText ( string str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
Translate ( float xAmount, float yAmount ) : void

Private Methods

Method Description
AddGlyph ( Glyph glyph, float x, float y, float width, float height ) : void
AddToCache ( CharSequence str, float x, float y, int start, int end ) : float
Require ( int glyphCount ) : void

Method Details

AddMultiLineText() public method

public AddMultiLineText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
return TextBounds

AddMultiLineText() public method

public AddMultiLineText ( CharSequence str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
alignmentWidth float
alignment HAlignment
return TextBounds

AddMultiLineText() public method

public AddMultiLineText ( string str, float x, float y ) : TextBounds
str string
x float
y float
return TextBounds

AddMultiLineText() public method

public AddMultiLineText ( string str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
alignmentWidth float
alignment HAlignment
return TextBounds

AddText() public method

public AddText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
return TextBounds

AddText() public method

public AddText ( CharSequence str, float x, float y, int start, int end ) : TextBounds
str CharSequence
x float
y float
start int
end int
return TextBounds

AddText() public method

public AddText ( string str, float x, float y ) : TextBounds
str string
x float
y float
return TextBounds

AddText() public method

public AddText ( string str, float x, float y, int start, int end ) : TextBounds
str string
x float
y float
start int
end int
return TextBounds

AddWrappedText() public method

public AddWrappedText ( CharSequence str, float x, float y, float wrapWidth ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
return TextBounds

AddWrappedText() public method

public AddWrappedText ( CharSequence str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
alignment HAlignment
return TextBounds

AddWrappedText() public method

public AddWrappedText ( string str, float x, float y, float wrapWidth ) : TextBounds
str string
x float
y float
wrapWidth float
return TextBounds

AddWrappedText() public method

public AddWrappedText ( string str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
wrapWidth float
alignment HAlignment
return TextBounds

BitmapFontCache() public method

public BitmapFontCache ( BitmapFont font ) : System
font BitmapFont
return System

BitmapFontCache() public method

public BitmapFontCache ( BitmapFont font, bool integer ) : System
font BitmapFont
integer bool
return System

Clear() public method

public Clear ( ) : void
return void

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch ) : void
spriteBatch GdxSpriteBatch
return void

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float alphaModulation ) : void
spriteBatch GdxSpriteBatch
alphaModulation float
return void

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, int start, int end ) : void
spriteBatch GdxSpriteBatch
start int
end int
return void

SetColor() public method

public SetColor ( Color tint, int start, int end ) : void
tint Color
start int
end int
return void

SetMultiLineText() public method

public SetMultiLineText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
return TextBounds

SetMultiLineText() public method

public SetMultiLineText ( CharSequence str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
alignmentWidth float
alignment HAlignment
return TextBounds

SetMultiLineText() public method

public SetMultiLineText ( string str, float x, float y ) : TextBounds
str string
x float
y float
return TextBounds

SetMultiLineText() public method

public SetMultiLineText ( string str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
alignmentWidth float
alignment HAlignment
return TextBounds

SetPosition() public method

public SetPosition ( float x, float y ) : void
x float
y float
return void

SetText() public method

public SetText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
return TextBounds

SetText() public method

public SetText ( CharSequence str, float x, float y, int start, int end ) : TextBounds
str CharSequence
x float
y float
start int
end int
return TextBounds

SetText() public method

public SetText ( string str, float x, float y ) : TextBounds
str string
x float
y float
return TextBounds

SetText() public method

public SetText ( string str, float x, float y, int start, int end ) : TextBounds
str string
x float
y float
start int
end int
return TextBounds

SetWrappedText() public method

public SetWrappedText ( CharSequence str, float x, float y, float wrapWidth ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
return TextBounds

SetWrappedText() public method

public SetWrappedText ( CharSequence str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
alignment HAlignment
return TextBounds

SetWrappedText() public method

public SetWrappedText ( string str, float x, float y, float wrapWidth ) : TextBounds
str string
x float
y float
wrapWidth float
return TextBounds

SetWrappedText() public method

public SetWrappedText ( string str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
wrapWidth float
alignment HAlignment
return TextBounds

Translate() public method

public Translate ( float xAmount, float yAmount ) : void
xAmount float
yAmount float
return void