C# Class Blink.GUI.Label

A plain text element for a menu.
Afficher le fichier Open project: dah6ce/Blink Class Usage Examples

Méthodes publiques

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

Method Details

Draw() public méthode

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Label() public méthode

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
Résultat System