title: Text effects GDI+
body: <p>I was reading <a href="http://www.codeproject.com/KB/GDI-plus/StarWarsStyleTextScroller.aspx" rel="nofollow">this article of codeproject</a>.</p>
  
  <p>and I would like to achieve the same fog text effect using gdi or gdi+. I am not concered about the scrolling and other features of this article, just the ability of apply a fog effect to the end of a text string</p>
  
  <pre><code>// Draws fog effect with help of gradient brush with alpha colors.
  using (Brush br = new LinearGradientBrush(new Point(0, 0), new Point(0, this.Height),
                  Color.FromArgb(255, this.BackColor), Color.FromArgb(0, this.BackColor)))
      {
          e.Graphics.FillRectangle(br, this.ClientRectangle);
      }
  </code></pre>