code: function drawPathOne(path, g, o, items) {
      var fill = o.fill, stroke = o.stroke, opac, lc, lw;
  
      path(g, items);
  
      opac = o.opacity == null ? 1 : o.opacity;
      if (opac == 0 || !fill && !stroke) return;
  
      if (fill) {
        g.globalAlpha = opac * (o.fillOpacity==null ? 1 : o.fillOpacity);
        g.fillStyle = color(g, o, fill);
        g.fill();
      }
  
      if (stroke) {
        lw = (lw = o.strokeWidth) != null ? lw : vg.config.render.lineWidth;
        if (lw > 0) {
          g.globalAlpha = opac * (o.strokeOpacity==null ? 1 : o.strokeOpacity);
          g.strokeStyle = color(g, o, stroke);
          g.lineWidth = lw;
          g.lineCap = (lc = o.strokeCap) != null ? lc : vg.config.render.lineCap;
          g.vgLineDash(o.strokeDash || null);
          g.vgLineDashOffset(o.strokeDashOffset || 0);
          g.stroke();
        }
      }
    }
docs: drawing functions