Phaser API Documentation

  Version: 
transformPoint(x, y, point)

Description:

Transform a point using this Matrix.

Parameters:

name type description
x number

The x coordinate of the point to transform.

y number

The y coordinate of the point to transform.

point object | Phaser.Geom.Point | Phaser.Math.Vector2

The Point object to store the transformed coordinates.

Returns:
Description:

The Point containing the transformed coordinates.