C# Class MonoGdx.Scene2D.UI.Label

Inheritance: Widget
Afficher le fichier Open project: jaquadro/MonoGdx Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
Invalidate ( ) : void
Label ( CharSequence text, LabelStyle style ) : System
Label ( CharSequence text, Skin skin ) : System
Label ( CharSequence text, Skin skin, string styleName ) : System
Label ( CharSequence text, Skin skin, string fontName, Color color ) : System
Label ( CharSequence text, Skin skin, string fontName, string colorName ) : System
Label ( string text, LabelStyle style ) : System
Label ( string text, Skin skin ) : System
Label ( string text, Skin skin, string styleName ) : System
Label ( string text, Skin skin, string fontName, Color color ) : System
Label ( string text, Skin skin, string fontName, string colorName ) : System
Layout ( ) : void
SetAlignment ( Alignment wrapAlign ) : void
SetAlignment ( Alignment labelAlign, Alignment lineAlign ) : void
SetAlignment ( Alignment labelAlign, HAlignment lineAlign ) : void
SetFontScale ( float fontScale ) : void
SetFontScale ( float fontScaleX, float fontScaleY ) : void
TextEquals ( CharSequence other ) : bool
TextEquals ( string other ) : bool

Private Methods

Méthode Description
ComputeSize ( ) : void

Method Details

Draw() public méthode

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
Résultat void

Invalidate() public méthode

public Invalidate ( ) : void
Résultat void

Label() public méthode

public Label ( CharSequence text, LabelStyle style ) : System
text CharSequence
style LabelStyle
Résultat System

Label() public méthode

public Label ( CharSequence text, Skin skin ) : System
text CharSequence
skin Skin
Résultat System

Label() public méthode

public Label ( CharSequence text, Skin skin, string styleName ) : System
text CharSequence
skin Skin
styleName string
Résultat System

Label() public méthode

public Label ( CharSequence text, Skin skin, string fontName, Color color ) : System
text CharSequence
skin Skin
fontName string
color Color
Résultat System

Label() public méthode

public Label ( CharSequence text, Skin skin, string fontName, string colorName ) : System
text CharSequence
skin Skin
fontName string
colorName string
Résultat System

Label() public méthode

public Label ( string text, LabelStyle style ) : System
text string
style LabelStyle
Résultat System

Label() public méthode

public Label ( string text, Skin skin ) : System
text string
skin Skin
Résultat System

Label() public méthode

public Label ( string text, Skin skin, string styleName ) : System
text string
skin Skin
styleName string
Résultat System

Label() public méthode

public Label ( string text, Skin skin, string fontName, Color color ) : System
text string
skin Skin
fontName string
color Color
Résultat System

Label() public méthode

public Label ( string text, Skin skin, string fontName, string colorName ) : System
text string
skin Skin
fontName string
colorName string
Résultat System

Layout() public méthode

public Layout ( ) : void
Résultat void

SetAlignment() public méthode

public SetAlignment ( Alignment wrapAlign ) : void
wrapAlign Alignment
Résultat void

SetAlignment() public méthode

public SetAlignment ( Alignment labelAlign, Alignment lineAlign ) : void
labelAlign Alignment
lineAlign Alignment
Résultat void

SetAlignment() public méthode

public SetAlignment ( Alignment labelAlign, HAlignment lineAlign ) : void
labelAlign Alignment
lineAlign HAlignment
Résultat void

SetFontScale() public méthode

public SetFontScale ( float fontScale ) : void
fontScale float
Résultat void

SetFontScale() public méthode

public SetFontScale ( float fontScaleX, float fontScaleY ) : void
fontScaleX float
fontScaleY float
Résultat void

TextEquals() public méthode

public TextEquals ( CharSequence other ) : bool
other CharSequence
Résultat bool

TextEquals() public méthode

public TextEquals ( string other ) : bool
other string
Résultat bool