Files
Tiber365/node_modules/lottie-web/player/js/elements/helpers/shapes/SVGStyleData.js
2025-05-16 00:17:42 +02:00

20 lines
422 B
JavaScript

import createNS from '../../../utils/helpers/svg_elements';
function SVGStyleData(data, level) {
this.data = data;
this.type = data.ty;
this.d = '';
this.lvl = level;
this._mdf = false;
this.closed = data.hd === true;
this.pElem = createNS('path');
this.msElem = null;
}
SVGStyleData.prototype.reset = function () {
this.d = '';
this._mdf = false;
};
export default SVGStyleData;