Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

<static> OffsetPoint(ellipse, point)

Description:

Offsets the Ellipse by the values given in the x and y properties of the Point object.

Parameters:

name type description
ellipse Phaser.Geom.Ellipse

The Ellipse to be offset (translated.)

point object | Phaser.Geom.Point

The Point object containing the values to offset the Ellipse by.

Returns:
Description:

The Ellipse that was offset.

Since: 3.0.0