20 lines
422 B
JavaScript
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;
|