mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
10 lines
529 B
TypeScript
10 lines
529 B
TypeScript
|
/**
|
||
|
* Scales the width and height of this Rectangle by the given amounts.
|
||
|
*
|
||
|
* @method Phaser.Rectangle#scale
|
||
|
* @param {number} x - The amount to scale the width of the Rectangle by. A value of 0.5 would reduce by half, a value of 2 would double the width, etc.
|
||
|
* @param {number} [y] - The amount to scale the height of the Rectangle by. A value of 0.5 would reduce by half, a value of 2 would double the height, etc.
|
||
|
* @return {Phaser.Rectangle} This Rectangle object
|
||
|
*/
|
||
|
export default function (rect: any, x: any, y: any): any;
|