2014-09-29 18:29:08 +10:00

2 lines
67 B
JavaScript

var {topLeft: {x: x1, y: y1}, bottomRight: {x: x2, y: y2}} = rect;