function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

/**
 * @class qrenderer.graphic.Control
 * 
 * Transform control.
 * 
 * 变换控制点。
 * 
 * @docauthor 大漠穷秋 <damoqiongqiu@126.com>
 */
var Control =
/*#__PURE__*/
function () {
  function Control(options) {
    _classCallCheck(this, Control);

    this.visible = true;
    this.x = 0;
    this.y = 0;
    this.offsetX = 0;
    this.offsetY = 0;
    this.visible = false;
  }

  _createClass(Control, [{
    key: "render",
    value: function render() {}
  }, {
    key: "positionHandler",
    value: function positionHandler() {}
  }, {
    key: "renderCircleControl",
    value: function renderCircleControl() {}
  }, {
    key: "renderSquareControl",
    value: function renderSquareControl() {}
  }, {
    key: "getVisibility",
    value: function getVisibility() {
      return this.visible;
    }
  }, {
    key: "setVisibility",
    value: function setVisibility(visibility) {
      this.visible = visibility;
    }
  }]);

  return Control;
}();

module.exports = Control;