You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
570 B
17 lines
570 B
import { __extends } from "tslib";
|
|
import Gradient from './Gradient.js';
|
|
var RadialGradient = (function (_super) {
|
|
__extends(RadialGradient, _super);
|
|
function RadialGradient(x, y, r, colorStops, globalCoord) {
|
|
var _this = _super.call(this, colorStops) || this;
|
|
_this.x = x == null ? 0.5 : x;
|
|
_this.y = y == null ? 0.5 : y;
|
|
_this.r = r == null ? 0.5 : r;
|
|
_this.type = 'radial';
|
|
_this.global = globalCoord || false;
|
|
return _this;
|
|
}
|
|
return RadialGradient;
|
|
}(Gradient));
|
|
export default RadialGradient;
|