function FreehandHandleData(position) {
  var highlight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  var active = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;

  _classCallCheck(this, FreehandHandleData);

  this.x = position.x;
  this.y = position.y;
  this.highlight = highlight;
  this.active = active;
  this.lines = [];
}
/**
* Constructs a a single handle for the freehand tool
*
* @param {Object} position - The position of the handle.
* @param {Boolean} highlight - whether the handle should be rendered as the highlighted color.
* @param {Boolean} active - whether the handle is active.
*/
Constructs a a single handle for the freehand tool
Constructs a a single handle for the freehand tool
function FreehandHandleData(position) {
  var highlight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  var active = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  _classCallCheck(this, FreehandHandleData);
  this.x = position.x;
  this.y = position.y;
  this.highlight = highlight;
  this.active = active;
  this.lines = [];
}
function FreehandHandleData ( position ) { var highlight = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : true ; var active = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : true ; _classCallCheck ( this , FreehandHandleData ) ; this . x = position . x ; this . y = position . y ; this . highlight = highlight ; this . active = active ; this . lines = [ ] ; }
Constructs a a single handle for the freehand tool
Constructs a a single handle for the freehand tool