{"size": 337, "ext": "js", "max_stars_repo_path": "lib/hole.js", "max_stars_repo_name": "twhitinger/lyger-woods", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/hole.js", "max_issues_repo_name": "twhitinger/lyger-woods", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/hole.js", "max_forks_repo_name": "twhitinger/lyger-woods", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.85, "max_line_length": 53, "alphanum_fraction": 0.6083086053}
function Hole(x, y) {
  this.x = x;
  this.y = y;
  this.radius = 8;
}

Hole.prototype.draw = function(ctx) {
  ctx.strokeStyle = '#ffffff';
  ctx.fillStyle = '#000000';
  ctx.lineWidth = 4;
  ctx.beginPath();
  ctx.arc(this.x, this.y, this.radius, 0, 2*Math.PI);
  ctx.stroke();
  ctx.fill();

  return this;
};

module.exports = Hole;
