Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Point

<static> Floor(point)

Description:

Apply Math.ceil() to each coordinate of the given Point.

Parameters:

name type description
point Phaser.Geom.Point

The Point to floor.

Returns:
Description:

The Point with Math.floor() applied to its coordinates.

Since: 3.0.0
Source: src/geom/point/Floor.js (Line 7)