code: public Shape createCheckMark(final int x, final int y, final int w, final int h) {
          double xf = w / 12.0;
          double hf = h / 12.0;
  
          path.reset();
          path.moveTo(x, y + 7.0 * hf);
          path.lineTo(x + 2.0 * xf, y + 7.0 * hf);
          path.lineTo(x + 4.75 * xf, y + 10.0 * hf);
          path.lineTo(x + 9.0 * xf, y);
          path.lineTo(x + 11.0 * xf, y);
          path.lineTo(x + 5.0 * xf, y + 12.0 * hf);
          path.closePath();
  
          return path;
      }
docs: Return a path for a check mark.
  
  @param  x the X coordinate of the upper-left corner of the check mark
  @param  y the Y coordinate of the upper-left corner of the check mark
  @param  w the width of the check mark
  @param  h the height of the check mark
  
  @return a path representing the shape.