2014-10-11 22:33:08 +11:00

2 lines
67 B
JavaScript

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