Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Point

<static> Invert(point)

Description:

Swaps the X and the Y coordinate of a point.

Parameters:

name type description
point Phaser.Geom.Point

The Point to modify.

Returns:
Description:

The modified point.

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