We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(part of UI)
Returns: rect object
Parameters: aRect (rect)
Copies a rectangle for future modification.
Note: You must always copy a rectangle before modifying it; lest you modify the original.
var aRect = UI.makeRect ( UI.makePoint (10, 15), UI.makeSize (100, 150) ); var bRect = UI.copyRect ( aRect ); // bRect is now { origin: { x: 10, y: 15 }, size: { w: 100, h: 150 } }
0.3 Introduced; Docs Valid