C# 클래스 Myre.UI.Controls.SimpleLabel

A simple label control for drawing text. Does not support glyphs or text wrapping. Use this for labels which change often.
상속: Control
파일 보기 프로젝트 열기: TomGillen/Myre

공개 메소드들

메소드 설명
Draw ( SpriteBatch batch ) : void

Draws the control.

SimpleLabel ( Control parent, SpriteFont font ) : System

Initializes a new instance of the SimpleLabel class.

메소드 상세

Draw() 공개 메소드

Draws the control.
public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch An spritebactch already started for alpha blending with deferred sort mode.
리턴 void

SimpleLabel() 공개 메소드

Initializes a new instance of the SimpleLabel class.
public SimpleLabel ( Control parent, SpriteFont font ) : System
parent Control This controls parent control.
font Microsoft.Xna.Framework.Graphics.SpriteFont The font.
리턴 System