11 lines
270 B
JavaScript
11 lines
270 B
JavaScript
export default function (shape) {
|
|
var attrs = shape.attr();
|
|
var x = attrs.x, y = attrs.y, width = attrs.width, height = attrs.height;
|
|
return {
|
|
x: x,
|
|
y: y,
|
|
width: width,
|
|
height: height,
|
|
};
|
|
}
|
|
//# sourceMappingURL=rect.js.map
|