C# Класс MonoGdx.Graphics.G2D.BitmapFontCache

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddMultiLineText() публичный Метод

public AddMultiLineText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
Результат TextBounds

AddMultiLineText() публичный Метод

public AddMultiLineText ( CharSequence str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
alignmentWidth float
alignment HAlignment
Результат TextBounds

AddMultiLineText() публичный Метод

public AddMultiLineText ( string str, float x, float y ) : TextBounds
str string
x float
y float
Результат TextBounds

AddMultiLineText() публичный Метод

public AddMultiLineText ( string str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
alignmentWidth float
alignment HAlignment
Результат TextBounds

AddText() публичный Метод

public AddText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
Результат TextBounds

AddText() публичный Метод

public AddText ( CharSequence str, float x, float y, int start, int end ) : TextBounds
str CharSequence
x float
y float
start int
end int
Результат TextBounds

AddText() публичный Метод

public AddText ( string str, float x, float y ) : TextBounds
str string
x float
y float
Результат TextBounds

AddText() публичный Метод

public AddText ( string str, float x, float y, int start, int end ) : TextBounds
str string
x float
y float
start int
end int
Результат TextBounds

AddWrappedText() публичный Метод

public AddWrappedText ( CharSequence str, float x, float y, float wrapWidth ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
Результат TextBounds

AddWrappedText() публичный Метод

public AddWrappedText ( CharSequence str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
alignment HAlignment
Результат TextBounds

AddWrappedText() публичный Метод

public AddWrappedText ( string str, float x, float y, float wrapWidth ) : TextBounds
str string
x float
y float
wrapWidth float
Результат TextBounds

AddWrappedText() публичный Метод

public AddWrappedText ( string str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
wrapWidth float
alignment HAlignment
Результат TextBounds

BitmapFontCache() публичный Метод

public BitmapFontCache ( BitmapFont font ) : System
font BitmapFont
Результат System

BitmapFontCache() публичный Метод

public BitmapFontCache ( BitmapFont font, bool integer ) : System
font BitmapFont
integer bool
Результат System

Clear() публичный Метод

public Clear ( ) : void
Результат void

Draw() публичный Метод

public Draw ( GdxSpriteBatch spriteBatch ) : void
spriteBatch GdxSpriteBatch
Результат void

Draw() публичный Метод

public Draw ( GdxSpriteBatch spriteBatch, float alphaModulation ) : void
spriteBatch GdxSpriteBatch
alphaModulation float
Результат void

Draw() публичный Метод

public Draw ( GdxSpriteBatch spriteBatch, int start, int end ) : void
spriteBatch GdxSpriteBatch
start int
end int
Результат void

SetColor() публичный Метод

public SetColor ( Color tint, int start, int end ) : void
tint Color
start int
end int
Результат void

SetMultiLineText() публичный Метод

public SetMultiLineText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
Результат TextBounds

SetMultiLineText() публичный Метод

public SetMultiLineText ( CharSequence str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
alignmentWidth float
alignment HAlignment
Результат TextBounds

SetMultiLineText() публичный Метод

public SetMultiLineText ( string str, float x, float y ) : TextBounds
str string
x float
y float
Результат TextBounds

SetMultiLineText() публичный Метод

public SetMultiLineText ( string str, float x, float y, float alignmentWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
alignmentWidth float
alignment HAlignment
Результат TextBounds

SetPosition() публичный Метод

public SetPosition ( float x, float y ) : void
x float
y float
Результат void

SetText() публичный Метод

public SetText ( CharSequence str, float x, float y ) : TextBounds
str CharSequence
x float
y float
Результат TextBounds

SetText() публичный Метод

public SetText ( CharSequence str, float x, float y, int start, int end ) : TextBounds
str CharSequence
x float
y float
start int
end int
Результат TextBounds

SetText() публичный Метод

public SetText ( string str, float x, float y ) : TextBounds
str string
x float
y float
Результат TextBounds

SetText() публичный Метод

public SetText ( string str, float x, float y, int start, int end ) : TextBounds
str string
x float
y float
start int
end int
Результат TextBounds

SetWrappedText() публичный Метод

public SetWrappedText ( CharSequence str, float x, float y, float wrapWidth ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
Результат TextBounds

SetWrappedText() публичный Метод

public SetWrappedText ( CharSequence str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str CharSequence
x float
y float
wrapWidth float
alignment HAlignment
Результат TextBounds

SetWrappedText() публичный Метод

public SetWrappedText ( string str, float x, float y, float wrapWidth ) : TextBounds
str string
x float
y float
wrapWidth float
Результат TextBounds

SetWrappedText() публичный Метод

public SetWrappedText ( string str, float x, float y, float wrapWidth, HAlignment alignment ) : TextBounds
str string
x float
y float
wrapWidth float
alignment HAlignment
Результат TextBounds

Translate() публичный Метод

public Translate ( float xAmount, float yAmount ) : void
xAmount float
yAmount float
Результат void