2023-02-17 11:06:01 +01:00

21 lines
577 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HslAnimation = void 0;
const ColorAnimation_1 = require("./ColorAnimation");
class HslAnimation {
constructor() {
this.h = new ColorAnimation_1.ColorAnimation();
this.s = new ColorAnimation_1.ColorAnimation();
this.l = new ColorAnimation_1.ColorAnimation();
}
load(data) {
if (!data) {
return;
}
this.h.load(data.h);
this.s.load(data.s);
this.l.load(data.l);
}
}
exports.HslAnimation = HslAnimation;