UNPKG

svg-engine

Version:
18 lines 534 B
import { SVGInstance } from "../../../browser/instance/SVGInstance.js"; export class CXCYPositioning extends SVGInstance { cx(cx) { if (typeof cx === "string" || typeof cx === "number") { this.attr("cx", cx); return this; } return this.attr("cx"); } cy(cy) { if (typeof cy === "string" || typeof cy === "number") { this.attr("cy", cy); return this; } return this.attr("cy"); } } //# sourceMappingURL=cxcyPositioning.js.map