import { SVGInstance } from "../../../browser/instance/SVGInstance.js";
export class WidthHeight extends SVGInstance {
    width(width) {
        if (typeof width === "string" || typeof width === "number") {
            this.attr("width", width + "");
            return this;
        }
        return this.attr("width");
    }
    height(height) {
        if (typeof height === "string" || typeof height === "number") {
            this.attr("height", height + "");
            return this;
        }
        return this.attr("height");
    }
}
//# sourceMappingURL=widthHeight.js.map