Phaser API Documentation

  Version: 
<static> Ceil(rect)

Description:

Rounds a Rectangle's position up to the smallest integer greater than or equal to each current coordinate.

Parameters:

name type description
rect Phaser.Geom.Rectangle

The Rectangle to adjust.

Returns:
Description:

The adjusted Rectangle.

Since: 3.0.0
Source: src/geom/rectangle/Ceil.js (Line 7)