C# Class MonoGdx.Scene2D.UI.Label

Inheritance: Widget
Show file Open project: jaquadro/MonoGdx Class Usage Examples

Public Methods

Method 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

Method Description
ComputeSize ( ) : void

Method Details

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

Invalidate() public method

public Invalidate ( ) : void
return void

Label() public method

public Label ( CharSequence text, LabelStyle style ) : System
text CharSequence
style LabelStyle
return System

Label() public method

public Label ( CharSequence text, Skin skin ) : System
text CharSequence
skin Skin
return System

Label() public method

public Label ( CharSequence text, Skin skin, string styleName ) : System
text CharSequence
skin Skin
styleName string
return System

Label() public method

public Label ( CharSequence text, Skin skin, string fontName, Color color ) : System
text CharSequence
skin Skin
fontName string
color Color
return System

Label() public method

public Label ( CharSequence text, Skin skin, string fontName, string colorName ) : System
text CharSequence
skin Skin
fontName string
colorName string
return System

Label() public method

public Label ( string text, LabelStyle style ) : System
text string
style LabelStyle
return System

Label() public method

public Label ( string text, Skin skin ) : System
text string
skin Skin
return System

Label() public method

public Label ( string text, Skin skin, string styleName ) : System
text string
skin Skin
styleName string
return System

Label() public method

public Label ( string text, Skin skin, string fontName, Color color ) : System
text string
skin Skin
fontName string
color Color
return System

Label() public method

public Label ( string text, Skin skin, string fontName, string colorName ) : System
text string
skin Skin
fontName string
colorName string
return System

Layout() public method

public Layout ( ) : void
return void

SetAlignment() public method

public SetAlignment ( Alignment wrapAlign ) : void
wrapAlign Alignment
return void

SetAlignment() public method

public SetAlignment ( Alignment labelAlign, Alignment lineAlign ) : void
labelAlign Alignment
lineAlign Alignment
return void

SetAlignment() public method

public SetAlignment ( Alignment labelAlign, HAlignment lineAlign ) : void
labelAlign Alignment
lineAlign HAlignment
return void

SetFontScale() public method

public SetFontScale ( float fontScale ) : void
fontScale float
return void

SetFontScale() public method

public SetFontScale ( float fontScaleX, float fontScaleY ) : void
fontScaleX float
fontScaleY float
return void

TextEquals() public method

public TextEquals ( CharSequence other ) : bool
other CharSequence
return bool

TextEquals() public method

public TextEquals ( string other ) : bool
other string
return bool