Blink.GUI.TextButton.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return 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);
        }