Phaser API Documentation

  Version: 
<static> CopyFrom(source, dest)

Description:

Copy the values of one Rectangle to a destination Rectangle.

Parameters:

name type description
source Phaser.Geom.Rectangle

The source Rectangle to copy the values from.

dest Phaser.Geom.Rectangle

The destination Rectangle to copy the values to.

Returns:
Description:

The destination Rectangle.

Since: 3.0.0