Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Circle

<static> Offset(circle, x, y)

Description:

Offsets the Circle by the values given.

Parameters:

name type description
circle Phaser.Geom.Circle

The Circle to be offset (translated.)

x number

The amount to horizontally offset the Circle by.

y number

The amount to vertically offset the Circle by.

Returns:
Description:

The Circle that was offset.

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