svg-engine
Version:
Create SVG files in Node.js
15 lines • 561 B
JavaScript
import { SVGInstance } from "../../../browser/instance/SVGInstance.js";
export class VectorEffect extends SVGInstance {
vectorEffect(vectorEffect) {
if (typeof vectorEffect === "undefined") {
const vectorEffect = this.attr("vector-effect");
return typeof vectorEffect === "string" ? vectorEffect : null;
}
else if (typeof vectorEffect === "string") {
this.attr("vector-effect", vectorEffect);
return this;
}
return null;
}
}
//# sourceMappingURL=vectorEffect.js.map