UNPKG

@antv/f2

Version:

Charts for mobile visualization.

12 lines 227 B
export default (function (layout) { var left = layout.left, top = layout.top, width = layout.width, height = layout.height; return { x1: left, y1: top, x2: left + width, y2: top + height }; });