shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$graphics$shared$svg$buildSVGStyle = function(global, require, module, exports) {
  var Color = require("module$node_modules$pixi_DOT_js$lib$color$Color");
  "use strict";
  exports.buildSVGFillAttributes = function(style, defs) {
    defs = defs.addStyle(style);
    const parts = [];
    defs ? parts.push(`fill="${defs}"`) : parts.push(`fill="${Color.Color.shared.setValue(style.color).toHex()}"`);
    1 > style.alpha && parts.push(`fill-opacity="${style.alpha}"`);
    return parts.join(" ");
  };
  exports.buildSVGStrokeAttributes = function(style, defs) {
    defs = defs.addStyle(style);
    const parts = [];
    parts.push('fill\x3d"none"');
    defs ? parts.push(`stroke="${defs}"`) : parts.push(`stroke="${Color.Color.shared.setValue(style.color).toHex()}"`);
    parts.push(`stroke-width="${style.width}"`);
    "butt" !== style.cap && parts.push(`stroke-linecap="${style.cap}"`);
    "miter" !== style.join ? parts.push(`stroke-linejoin="${style.join}"`) : 10 !== style.miterLimit && parts.push(`stroke-miterlimit="${style.miterLimit}"`);
    1 > style.alpha && parts.push(`stroke-opacity="${style.alpha}"`);
    return parts.join(" ");
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$graphics$shared$svg$buildSVGStyle.js.map
