{"size": 1224, "ext": "js", "max_stars_repo_path": "src/radius-2d.js", "max_stars_repo_name": "tategakibunko/nehan.js", "max_stars_repo_stars_event_min_datetime": "2015-01-12T22:34:16.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-25T16:16:09.000Z", "max_issues_repo_path": "src/radius-2d.js", "max_issues_repo_name": "tategakibunko/nehan.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/radius-2d.js", "max_forks_repo_name": "tategakibunko/nehan.js", "max_forks_repo_forks_event_min_datetime": "2015-01-18T09:06:34.000Z", "max_forks_repo_forks_event_max_datetime": "2020-09-24T16:10:04.000Z"}
{"max_stars_count": 96, "max_issues_count": null, "max_forks_count": 12, "avg_line_length": 24.9795918367, "max_line_length": 106, "alphanum_fraction": 0.6241830065}
Nehan.Radius2d = (function(){
  /**
     @memberof Nehan
     @class Radius2d
     @classdesc abstraction of radius with 2 direction vert and hori.
     @constructor
  */
  function Radius2d(opt){
    opt = opt || {};
    this.hori = (typeof opt.hori !== "undefined")? opt.hori : 0;
    this.vert = (typeof opt.vert !== "undefined")? opt.vert : 0;
  }

  Radius2d.prototype.clone = function(){
    var radius2d = new Nehan.Radius2d();
    radius2d.hori = this.hori;
    radius2d.vert = this.vert;
    return radius2d;
  };
  /**
   @memberof Nehan.Radius2d
   @param value {Array<int>} - 2 length array, value[0] as horizontal radius, value[1] as vertical radius.
   @param value.0 {int} - horizontal radius
   @param value.1 {int} - vertical radius
   @return {Nehan.Radius2d}
   */
  Radius2d.prototype.setSize = function(value){
    this.hori = value[0];
    this.vert = value[1];
    return this;
  };
  /**
   @memberof Nehan.Radius2d
   @return {String}
   */
  Radius2d.prototype.getCssValueHori = function(){
    return this.hori + "px";
  };
  /**
   @memberof Nehan.Radius2d
   @return {String}
   */
  Radius2d.prototype.getCssValueVert = function(){
    return this.vert + "px";
  };
  
  return Radius2d;
})();
