Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/@antv/g-base/lib/bbox/circle.js
T
2026-09-10 15:40:10 +08:00

13 lines
328 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(shape) {
var _a = shape.attr(), x = _a.x, y = _a.y, r = _a.r;
return {
x: x - r,
y: y - r,
width: r * 2,
height: r * 2,
};
}
exports.default = default_1;
//# sourceMappingURL=circle.js.map