title: ImageSharp drawing shapes on image in Core 2.2
body: <p>I am using <code>ImageSharp</code> (ver 1.0.0-beta0006) in my .Net Core 2.2 project. I primarily use it to resize image (to generate thumbnail) and it's working fine.</p>
  
  <p>Recently, I've got a requirement to draw rectangles on the image. Based on <a href="https://github.com/SixLabors/ImageSharp/blob/master/tests/ImageSharp.Benchmarks/Drawing/DrawLines.cs" rel="nofollow noreferrer">the documentation</a>, this is what I've got to do:</p>
  
  <pre><code>using (var image = new Image&lt;Rgba32&gt;(800, 800))
          {
              image.Mutate(x =&gt; x.DrawLines(
                  Rgba32.HotPink,
                  10,
                  new SixLabors.Primitives.PointF[] {
                      new Vector2(10, 10),
                      new Vector2(550, 50),
                      new Vector2(200, 400)
                  }));
  
              using (var stream = new MemoryStream())
              {
                  image.SaveAsBmp(stream);
              }
          }
  </code></pre>
  
  <p>However, I realize that in my <code>Mutate</code> lambda methods there is not a method named <code>DrawLines</code>. Can I know if I'm missing an assembly? Based on the documentation, it is <code>using</code>:</p>
  
  <pre><code>using SixLabors.ImageSharp.Processing;
  using SixLabors.ImageSharp.PixelFormats;
  </code></pre>
  
  <p>both of which are found in the <code>SixLabors.ImageSharp</code> package.</p>