Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Components.TransformMatrix
scale(x, y)
Description:
Scale the Matrix.
Parameters:
name
type
description
x
number
The horizontal scale value.
y
number
The vertical scale value.
Returns:
Description:
This TransformMatrix.
Type:
Phaser.GameObjects.Components.TransformMatrix
Since:
3.0.0
Source:
src/gameobjects/components/TransformMatrix.js
(Line
375
)
Possible examples