"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Visibility = void 0;
const SVGInstance_js_1 = require("../../../node/instance/SVGInstance.js");
class Visibility extends SVGInstance_js_1.SVGInstance {
    visibility(visibility) {
        if (typeof visibility === "undefined") {
            const visibility = this.attr("visibility");
            return typeof visibility === "string" ? visibility : null;
        }
        else if (typeof visibility === "string") {
            this.attr("visibility", visibility);
            return this;
        }
        return null;
    }
}
exports.Visibility = Visibility;
//# sourceMappingURL=visibility.js.map