/*
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 { Base, markType } from "./type";
/**
 * @hidden
 */
export let CornerRadius = /*@__PURE__*/ (() => {
    class CornerRadius extends Base {
        constructor(a, ..._rest) {
            super();
            this._bottomRight = 0;
            this._bottomLeft = 0;
            this._topLeft = 0;
            this._topRight = 0;
            a = (a == void 0) ? 0 : a;
            switch (a) {
                case 0:
                    {
                        let c = _rest[0];
                        this.bottomLeft = this.bottomRight = this.topLeft = this.topRight = c;
                    }
                    break;
                case 1:
                    {
                        let c = _rest[0];
                        let d = _rest[1];
                        let e = _rest[2];
                        let 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;
            }
        }
        get bottomRight() {
            return this._bottomRight;
        }
        set bottomRight(a) {
            this._bottomRight = a;
        }
        get bottomLeft() {
            return this._bottomLeft;
        }
        set bottomLeft(a) {
            this._bottomLeft = a;
        }
        get topLeft() {
            return this._topLeft;
        }
        set topLeft(a) {
            this._topLeft = a;
        }
        get topRight() {
            return this._topRight;
        }
        set topRight(a) {
            this._topRight = a;
        }
    }
    CornerRadius.$t = /*@__PURE__*/ markType(CornerRadius, 'CornerRadius');
    return CornerRadius;
})();
//# sourceMappingURL=CornerRadius.js.map
