title: Draw a line with curved edges in Android
body: <p>I am using <code>canvas.drawLine</code>  to draw some line in android but the lines are too sharp but i need a curved edges
  <img src="https://i.stack.imgur.com/OgrmB.png" alt="enter image description here" /></p>
  <p>Here the 1 is what i have and 2  is what i want to achieve, means a line with curved edges rather than straight edges</p>
  <p>How can I achieve that ??</p>
  <p><strong>EDIT 2:</strong></p>
  <p>I am trying to use the Canvas object to to draw a line. but the lines have a sharp edge, I need a rounded off edge
  I am using the Paint object</p>
  <pre><code>mPaint = new Paint();
  mPaint.setColor(Color.BLACK)
  </code></pre>
  <p>Any help would be appreciated great.</p>