Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

<static> GetBounds(ellipse, [out])

Description:

Returns the bounds of the Ellipse object.

Parameters:

name type arguments description
ellipse Phaser.Geom.Ellipse

The Ellipse to get the bounds from.

out object | Phaser.Geom.Rectangle <optional>

A Rectangle, or rectangle-like object, to store the ellipse bounds in. If not given a new Rectangle will be created.

Returns:
Description:

The Rectangle object containing the Ellipse bounds.

Type:
Since: 3.0.0