rect.js 370 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function default_1(shape) {
  4. var attrs = shape.attr();
  5. var x = attrs.x, y = attrs.y, width = attrs.width, height = attrs.height;
  6. return {
  7. x: x,
  8. y: y,
  9. width: width,
  10. height: height,
  11. };
  12. }
  13. exports.default = default_1;
  14. //# sourceMappingURL=rect.js.map