Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

setTo(x, y, width, height)

Description:

Sets the x, y, width and height of this ellipse.

Parameters:

name type description
x number

The x position of the center of the ellipse.

y number

The y position of the center of the ellipse.

width number

The width of the ellipse.

height number

The height of the ellipse.

Returns:
Description:

This Ellipse object.

Since: 3.0.0