title: How to draw rectangles in an image in React native
body: <p>I've been looking for references for some time on how to draw rectangles in an image using react native, but I find nothing.</p>
  
  <p>What I try to do is something like passing as parameters a function, a photograph, and coordinates of the vertices of the diagonal of a rectangle, then returning an image with that drawn rectangle. How could I do that?</p>
  
  <p><a href="https://i.stack.imgur.com/vdcJq.png" rel="nofollow noreferrer">Example</a></p>