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