path.js 495 B

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