2014-11-23 16:17:49 +11:00

2 lines
67 B
JavaScript

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