hollow.js 523 B

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Hollow = void 0;
  4. const color_1 = require("./color");
  5. /**
  6. * A hollow path.
  7. */
  8. const Hollow = (options) => {
  9. return (0, color_1.Color)(Object.assign({ fill: 'none', colorAttribute: 'stroke' }, options));
  10. };
  11. exports.Hollow = Hollow;
  12. exports.Hollow.props = {
  13. defaultMarker: 'hvh',
  14. defaultEnterAnimation: 'fadeIn',
  15. defaultUpdateAnimation: 'morphing',
  16. defaultExitAnimation: 'fadeOut',
  17. };
  18. //# sourceMappingURL=hollow.js.map