title: Radial Sweeping of a Brush
body: <p>I'm looking for a way to fill something using a radial sweep of a defined brush in WPF. I'm going to break down what I want in a series of images in an attempt to make it clear.</p>
  
  <p>Let's say I define a brush in WPF that looks like so:</p>
  
  <p><img src="https://i.stack.imgur.com/hXHGi.png" alt="Brush"></p>
  
  <p>I then want to use a slice of that brush like so:</p>
  
  <p><img src="https://i.stack.imgur.com/DRw4L.png" alt="Brush with Slice"></p>
  
  <p>And tile it across the radius of a circle as shown:</p>
  
  <p><img src="https://i.stack.imgur.com/pwyMP.png" alt="Tiling the Radius"></p>
  
  <p>Finally, in order to fill the shape, I would like to sweep the brush across all angles of the circle, providing me with a result similar to this:</p>
  
  <p><img src="https://i.stack.imgur.com/XHnhX.png" alt="Sweeping the Circle"></p>
  
  <p>In this particular case I'm attempting to make concentric circles. I know I could achieve this using RadialGradientBrush but this is an obnoxious solution as in order to precisely control the width of my concentric circles I would need change the number of radial stops based on the size of the circle. To make it worse, if the circle size changes, the radial stops will not change unless I use some kind of converter based on the circle width/height.</p>
  
  <p>I was hoping for a clean solution to do this maybe with paths or something but any other suggestions for making circle slices of controlled size is welcome.</p>