C# Class TiaraFramework.Component.Label

Inheritance: ASprite
Show file Open project: TiaraGames/TiaraFramework

Public Properties

Property Type Description
SpriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
Text string

Public Methods

Method Description
Copy ( ) : Label
CopyBase ( ) : ASprite
Initialize ( ) : void
Label ( string text, Vector2 position, string spriteFontPath, Color color, float depth, Microsoft.Xna.Framework.Game game ) : System
Label ( string text, Vector2 position, string spriteFontPath, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects spriteEffect, float depth, Microsoft.Xna.Framework.Game game ) : System
Update ( GameTime gameTime ) : void

Method Details

Copy() public method

public Copy ( ) : Label
return Label

CopyBase() public method

public CopyBase ( ) : ASprite
return ASprite

Initialize() public method

public Initialize ( ) : void
return void

Label() public method

public Label ( string text, Vector2 position, string spriteFontPath, Color color, float depth, Microsoft.Xna.Framework.Game game ) : System
text string
position Vector2
spriteFontPath string
color Color
depth float
game Microsoft.Xna.Framework.Game
return System

Label() public method

public Label ( string text, Vector2 position, string spriteFontPath, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects spriteEffect, float depth, Microsoft.Xna.Framework.Game game ) : System
text string
position Vector2
spriteFontPath string
color Color
rotation float
origin Vector2
scale Vector2
spriteEffect SpriteEffects
depth float
game Microsoft.Xna.Framework.Game
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

SpriteFont public property

public SpriteFont,Microsoft.Xna.Framework.Graphics SpriteFont
return Microsoft.Xna.Framework.Graphics.SpriteFont

Text public property

public string Text
return string