C# Class Terraria.GameContent.UI.Elements.UIText

Inheritance: Terraria.UI.UIElement
Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
Recalculate ( ) : void
SetText ( string text ) : void
SetText ( string text, float textScale, bool large ) : void
UIText ( string text, float textScale = 1f, bool large = false ) : Microsoft.Xna.Framework

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Method Details

DrawSelf() protected method

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Recalculate() public method

public Recalculate ( ) : void
return void

SetText() public method

public SetText ( string text ) : void
text string
return void

SetText() public method

public SetText ( string text, float textScale, bool large ) : void
text string
textScale float
large bool
return void

UIText() public method

public UIText ( string text, float textScale = 1f, bool large = false ) : Microsoft.Xna.Framework
text string
textScale float
large bool
return Microsoft.Xna.Framework