Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Circle

<static> GetBounds(circle, [out])

Description:

Returns the bounds of the Circle object.

Parameters:

name type arguments description
circle Phaser.Geom.Circle

The Circle to get the bounds from.

out object | Phaser.Geom.Rectangle <optional>

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

Returns:
Description:

The Rectangle object containing the Circles bounds.

Type:
Since: 3.0.0