Phaser API Documentation

  Version: 
fillPointShape(point, [size])

Description:

Fill the given point.

Draws a square at the given position, 1 pixel in size by default.

Parameters:

name type arguments Default description
point object | Phaser.Geom.Point | Phaser.Math.Vector2

The point to fill.

size number <optional> 1

The size of the square to draw.

Returns:
Description:

This Game Object.

Since: 3.0.0