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