Blink.GUI.TextButton.Draw C# (CSharp) 메소드

Draw() 공개 메소드

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