C# Класс MoodSwingGUI.MSWrappingLabel

Наследование: MSLabel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Draw() публичный Метод

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

MSWrappingLabel() публичный Метод

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
Результат System

MSWrappingLabel() публичный Метод

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
Результат System