Phaser API Documentation

  Version: 
<static> CeilAll(rect)

Description:

Rounds a Rectangle's position and size up to the smallest integer greater than or equal to each respective value.

Parameters:

name type description
rect Phaser.Geom.Rectangle

The Rectangle to modify.

Returns:
Description:

The modified Rectangle.

Since: 3.0.0