Blink.GUI.TextButton.Draw C# (CSharp) Méthode

Draw() public méthode

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void
        public override void Draw(SpriteBatch sb)
        {
            base.Draw(sb);
            sb.DrawString(font, text, (this.pos-(this.center * this.size)) + new Vector2(MARGIN, MARGIN), Color.Black);
        }