Phaser API Documentation

  Version: 
applyITRS(x, y, rotation, scaleX, scaleY)

Description:

Apply the identity, translate, rotate and scale operations on the Matrix.

Parameters:

name type description
x number

The horizontal translation.

y number

The vertical translation.

rotation number

The angle of rotation in radians.

scaleX number

The horizontal scale.

scaleY number

The vertical scale.

Returns:
Description:

This TransformMatrix.

Examples: