This commit is contained in:
mjz
2026-10-11 19:29:49 +08:00
commit 80b9d9047a
2123 changed files with 1025725 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
var Gradient = (function () {
function Gradient(colorStops) {
this.colorStops = colorStops || [];
}
Gradient.prototype.addColorStop = function (offset, color) {
this.colorStops.push({
offset: offset,
color: color
});
};
return Gradient;
}());
export default Gradient;