union(b, out) → {Phaser.Rectangle}
Adds two Rectangles together to create a new Rectangle object, by filling in the horizontal and vertical space between the two Rectangles.
Parameters
Name Type Argument Description b Phaser.Rectangle The second Rectangle object. out Phaser.Rectangle <optional> Optional Rectangle object. If given the new values will be set into this object, otherwise a brand new Rectangle object will be created and returned.
Returns
Phaser.Rectangle - A Re