Example #1
0
 public SolidColorBrush(D2D.RenderTarget target, Color color)
 {
     if (target != null)
     {
         d2dBrush = new D2D.SolidColorBrush(target, color.ToD2D());
     }
     else
         throw new ArgumentNullException();
 }
Example #2
0
 public void Clear(Color c)
 {
     _renderTarget.Clear(c.ToD2D());
 }