C# Class Blink.GUI.Label

A plain text element for a menu.
Show file Open project: dah6ce/Blink Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sb ) : void
Label ( String text, SpriteFont font, Vector2 pos, Vector2 center = default(Vector2), Color color = null ) : System

Method Details

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Label() public method

public Label ( String text, SpriteFont font, Vector2 pos, Vector2 center = default(Vector2), Color color = null ) : System
text String
font Microsoft.Xna.Framework.Graphics.SpriteFont
pos Vector2
center Vector2
color Color
return System