Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

<static> Offset(ellipse, x, y)

Description:

Offsets the Ellipse by the values given.

Parameters:

name type description
ellipse Phaser.Geom.Ellipse

The Ellipse to be offset (translated.)

x number

The amount to horizontally offset the Ellipse by.

y number

The amount to vertically offset the Ellipse by.

Returns:
Description:

The Ellipse that was offset.

Since: 3.0.0
Source: src/geom/ellipse/Offset.js (Line 7)