title: Draw rounded corner line in ImageDraw python
body: <p><a href="https://i.stack.imgur.com/oHVwX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oHVwX.png" alt="enter image description here"></a></p>
  
  <p>How to draw rounded corner line in ImageDraw?</p>
  
  <p>I can draw with </p>
  
  <pre><code>draw.line((x, y, x1, y1), width=4)
  </code></pre>
  
  <p>But the lines corner aren't rounded and they are straight flat.</p>