hollow.js 521 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Hollow = void 0;
  4. const color_1 = require("./color");
  5. /**
  6. * Render rect in different coordinate and using color channel for stroke attribute.
  7. */
  8. const Hollow = (options) => {
  9. return (0, color_1.Color)(Object.assign({ colorAttribute: 'stroke' }, options));
  10. };
  11. exports.Hollow = Hollow;
  12. exports.Hollow.props = Object.assign(Object.assign({}, color_1.Color.props), { defaultMarker: 'hollowSquare' });
  13. //# sourceMappingURL=hollow.js.map