C# Class MoodSwingGUI.MSWrappingLabel

Inheritance: MSLabel
Afficher le fichier Open project: verngutz/MoodSwing Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
MSWrappingLabel ( Point position, String text, SpriteFont sprite_font, Color text_color, Microsoft.Xna.Framework.Graphics.Texture2D background, int rightBoundary, int bottomBoundary, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Constructs a new MSLabel.

MSWrappingLabel ( Point position, String text, SpriteFont sprite_font, Color text_color, Microsoft.Xna.Framework.Graphics.Texture2D background, int topPadding, int bottomPadding, int leftPadding, int rightPadding, int rightBoundary, int bottomBoundary, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Constructs a new MSLabel.

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

MSWrappingLabel() public méthode

Constructs a new MSLabel.
public MSWrappingLabel ( Point position, String text, SpriteFont sprite_font, Color text_color, Microsoft.Xna.Framework.Graphics.Texture2D background, int rightBoundary, int bottomBoundary, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
position Point
text String the text that this MSLabel will display
sprite_font Microsoft.Xna.Framework.Graphics.SpriteFont
text_color Color
background Microsoft.Xna.Framework.Graphics.Texture2D
rightBoundary int
bottomBoundary int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch the SpriteBatch that will draw this MSLabel
game Microsoft.Xna.Framework.Game the Game where this MSLabel is used
Résultat System

MSWrappingLabel() public méthode

Constructs a new MSLabel.
public MSWrappingLabel ( Point position, String text, SpriteFont sprite_font, Color text_color, Microsoft.Xna.Framework.Graphics.Texture2D background, int topPadding, int bottomPadding, int leftPadding, int rightPadding, int rightBoundary, int bottomBoundary, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
position Point
text String the text that this MSLabel will display
sprite_font Microsoft.Xna.Framework.Graphics.SpriteFont
text_color Color
background Microsoft.Xna.Framework.Graphics.Texture2D
topPadding int
bottomPadding int
leftPadding int
rightPadding int
rightBoundary int
bottomBoundary int
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch the SpriteBatch that will draw this MSLabel
game Microsoft.Xna.Framework.Game the Game where this MSLabel is used
Résultat System