title: Tile a rectangle with a custom shape in SwiftUI
body: <p>Is there a way to fill an area tiling it with a custom shape?
  Like we can do with</p>
  <pre><code>Image(&quot;SomeImage&quot;)
      .resizable(resizingMode: .tile)
  </code></pre>
  <p>but I want to be able to change the shape of an Image (like changing a circle size) I fill with dynamically. Something like an analogue of <code>VisualBrush</code> with a propper <code>TileMode</code> in WPF.</p>
  <p>Using <code>ForEach</code> + <code>HStack</code>/<code>VStack</code> gives really poor performance.</p>