title: C# WPF not capable to draw heatmaps on 3D Meshes
body: <p>Hi a long time ago i used this code in a Windows Form App to draw a gradient in a single triangle, which could later be used to generate a color based heatmap over a 3D Mesh:</p>
  
  <pre><code>PathGradientBrush gradientBrush = new PathGradientBrush(points);
  Color[] colors = { Color.Red, Color.Blue, Color.Green };
  gradientBrush.CenterColor = Color.ToARGB(85,85,85);
  gradientBrush.SurroundColors = colors;
  surface.FillPolygon(gradientBrush, points);
  </code></pre>
  
  <p>I was able to draw a gradient like this from the corners of the triangle, which faded seamlessly into the middle of it. By placing many triangles together i could generate a colormap on my 3D mesh which was seamless, no sharp borders.</p>
  
  <p>However there is not PathGradientBrush in WPF anymore. How can I generate a colormap like that between three points with only the limited linear and radial brushes? Are there any other ways to generate the same result?</p>