/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, markType } from "./type";
/**
 * @hidden
 */
var CornerRadius = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(CornerRadius, _super);
    function CornerRadius(a) {
        var _rest = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            _rest[_i - 1] = arguments[_i];
        }
        var _this = _super.call(this) || this;
        _this._bottomRight = 0;
        _this._bottomLeft = 0;
        _this._topLeft = 0;
        _this._topRight = 0;
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0:
                {
                    var c = _rest[0];
                    _this.bottomLeft = _this.bottomRight = _this.topLeft = _this.topRight = c;
                }
                break;
            case 1:
                {
                    var c = _rest[0];
                    var d = _rest[1];
                    var e = _rest[2];
                    var f = _rest[3];
                    _this.topLeft = c;
                    _this.topRight = d;
                    _this.bottomRight = e;
                    _this.bottomLeft = f;
                }
                break;
            case 2:
                {
                    _this.bottomLeft = NaN;
                    _this.bottomRight = NaN;
                    _this.topLeft = NaN;
                    _this.topRight = NaN;
                }
                break;
        }
        return _this;
    }
    Object.defineProperty(CornerRadius.prototype, "bottomRight", {
        get: function () {
            return this._bottomRight;
        },
        set: function (a) {
            this._bottomRight = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(CornerRadius.prototype, "bottomLeft", {
        get: function () {
            return this._bottomLeft;
        },
        set: function (a) {
            this._bottomLeft = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(CornerRadius.prototype, "topLeft", {
        get: function () {
            return this._topLeft;
        },
        set: function (a) {
            this._topLeft = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(CornerRadius.prototype, "topRight", {
        get: function () {
            return this._topRight;
        },
        set: function (a) {
            this._topRight = a;
        },
        enumerable: true,
        configurable: true
    });
    CornerRadius.$t = markType(CornerRadius, 'CornerRadius');
    return CornerRadius;
}(Base));
export { CornerRadius };
//# sourceMappingURL=CornerRadius.js.map
