C# 클래스 MoodSwingGUI.MSWrappingLabel

상속: MSLabel
파일 보기 프로젝트 열기: verngutz/MoodSwing 1 사용 예제들

공개 메소드들

메소드 설명
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