path = new Graphics.Path();

path.moveTo(30, 30)
    .lineTo(150, 150)
    .bezierCurveTo(60, 70, 60, 70, 70, 150)
    .lineTo(30, 30)
    .close();

ctx.drawPath(path);
      </pre>
    </div>

    <div class="sample">
      <widget class="canvas" />
      <pre class="code">
var ctx = gfx;

function drawBowtie(fillColor) {

  ctx.fillColor(color(200,200,200,0.3));
  ctx.rectangle(-30, -30, 60, 60);
  
  ctx.fillColor(fillColor);

  var path = new Graphics.Path();
    path.moveTo(25, 25)
        .lineTo(-25