igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
53 lines (52 loc) • 1.88 kB
JavaScript
/*
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.b = 0;
this.a = 0;
this.c = 0;
this.d = 0;
a = (a == void 0) ? 0 : a;
switch (a) {
case 0:
{
let c = _rest[0];
this.a = this.b = this.c = this.d = c;
}
break;
case 1:
{
let c = _rest[0];
let d = _rest[1];
let e = _rest[2];
let 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;
}
}
}
CornerRadius.$t = markType(CornerRadius, 'CornerRadius');
return CornerRadius;
})();