title: Color.White not visible when drawing GraphicsPath
body: <p>The following code works fine when I use any other color than Color.White:</p>
  
  <pre><code>Public Sub PaintVignette(ByVal b As Bitmap, ByVal uColor As Color, ByVal bounds As Rectangle)
  
      Dim d As Double = 0.70712
  
      Using g As Graphics = Graphics.FromImage(b)
          Dim ellipsebounds As Rectangle = bounds
          ellipsebounds.Offset(-ellipsebounds.X, -ellipsebounds.Y)
          Dim x As Integer = ellipsebounds.Width - CInt(Math.Round(d * ellipsebounds.Width))
          Dim y As Integer = ellipsebounds.Height - CInt(Math.Round(d * ellipsebounds.Height))
          ellipsebounds.Inflate(x, y)
          Using path As GraphicsPath = New GraphicsPath()
              path.AddEllipse(ellipsebounds)
              Using brush As PathGradientBrush = New PathGradientBrush(path)
                  brush.WrapMode = WrapMode.Tile
                  brush.CenterColor = Color.FromArgb(0, 0, 0, 0)
                  brush.SurroundColors = New Color() {Color.FromArgb(255, uColor.R, uColor.G, uColor.B)}
                  Dim blend As Blend = New Blend()
                  blend.Positions = New Single() {0F, 0.2F, 0.4F, 0.6F, 0.8F, 1.0F}
                  blend.Factors = New Single() {0F, 0.5F, 1.0F, 1.0F, 1.0F, 1.0F}
                  brush.Blend = blend
                  Dim oldClip As Region = g.Clip
                  g.Clip = New Region(bounds)
                  g.FillRectangle(brush, ellipsebounds)
                  g.Clip = oldClip
              End Using
          End Using
      End Using
  
  End Sub
  </code></pre>
  
  <p>Passing Color.Green as the color argument results in such an image:</p>
  
  <p><a href="https://i.stack.imgur.com/x3Xvu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x3Xvu.png" alt="enter image description here"></a></p>
  
  <p>Passing Color.White results in such an image:</p>
  
  <p><a href="https://i.stack.imgur.com/nj8hg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nj8hg.png" alt="enter image description here"></a></p>
  
  <p>As one can see, the color White isn't drawn at all.</p>
  
  <p>Does anybody see what's going on here?</p>