UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

59 lines (58 loc) 2.02 kB
/* 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 { __extends } from "tslib"; import { Base, markType } from "./type"; /** * @hidden */ var CornerRadius = /** @class */ /*@__PURE__*/ (function (_super) { __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.b = 0; _this.a = 0; _this.c = 0; _this.d = 0; a = (a == void 0) ? 0 : a; switch (a) { case 0: { var c = _rest[0]; _this.a = _this.b = _this.c = _this.d = c; } break; case 1: { var c = _rest[0]; var d = _rest[1]; var e = _rest[2]; var f = _rest[3]; _this.c = c; _this.d = d; _this.b = e; _this.a = f; } break; case 2: { _this.a = NaN; _this.b = NaN; _this.c = NaN; _this.d = NaN; } break; } return _this; } CornerRadius.$t = markType(CornerRadius, 'CornerRadius'); return CornerRadius; }(Base)); export { CornerRadius };