1234567891011121314151617181920212223242526272829303132 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- var RectangularMarkerGrips = (function () {
- function RectangularMarkerGrips() {
- var _this = this;
- this.findGripByVisual = function (gripVisual) {
- switch (gripVisual) {
- case _this.topLeft.visual:
- return _this.topLeft;
- case _this.topCenter.visual:
- return _this.topCenter;
- case _this.topRight.visual:
- return _this.topRight;
- case _this.centerLeft.visual:
- return _this.centerLeft;
- case _this.centerRight.visual:
- return _this.centerRight;
- case _this.bottomLeft.visual:
- return _this.bottomLeft;
- case _this.bottomCenter.visual:
- return _this.bottomCenter;
- case _this.bottomRight.visual:
- return _this.bottomRight;
- default:
- return _this.topLeft;
- }
- };
- }
- return RectangularMarkerGrips;
- }());
- exports.RectangularMarkerGrips = RectangularMarkerGrips;
|