Phaser API Documentation

  Version: 
fillEllipse(x, y, width, height, [smoothness])

Description:

Fill an ellipse with the given position and size.

Parameters:

name type arguments Default description
x number

The x coordinate of the center of the ellipse.

y number

The y coordinate of the center of the ellipse.

width number

The width of the ellipse.

height number

The height of the ellipse.

smoothness number <optional> 32

The number of points to draw the ellipse with.

Returns:
Description:

This Game Object.

Since: 3.0.0