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
Показать файл Открыть проект

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

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