title: Inner and outer paths of a stroke
body: <pre><code>Path path = new Path();
  path.moveTo(0, 0);
  path.quadTo(100, 0, 200, 200);
  // more quadTo calls
  
  Paint paint = new Paint();
  paint.setStyle(Paint.Style.STROKE);
  paint.setStrokeWidth(20);
  paint.setColor(Color.BLACK);
  canvas.drawPath(path,paint);
  </code></pre>
  
  <p>From the path used to draw the stroke, is there a way to compute the inner and outer paths, in red and blue on the picture below ?</p>
  
  <p><img src="https://i.stack.imgur.com/LAIPy.png" alt="enter image description here"></p>