mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 14:10:42 +00:00
Update TextureManager.js
This commit is contained in:
parent
4700a80fff
commit
8cae5a33e7
1 changed files with 3 additions and 3 deletions
|
@ -1152,9 +1152,9 @@ var TextureManager = new Class({
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @param {string} key - The unique string-based key of the Texture.
|
||||
* @param {(HTMLImageElement|HTMLImageElement[])} source - The source Image element.
|
||||
* @param {number} [width] - The width of the Texture.
|
||||
* @param {number} [height] - The height of the Texture.
|
||||
* @param {(HTMLImageElement|HTMLCanvasElement|HTMLImageElement[]|HTMLCanvasElement[])} source - An array of sources that are used to create the texture. Usually Images, but can also be a Canvas.
|
||||
* @param {number} [width] - The width of the Texture. This is optional and automatically derived from the source images.
|
||||
* @param {number} [height] - The height of the Texture. This is optional and automatically derived from the source images.
|
||||
*
|
||||
* @return {?Phaser.Textures.Texture} The Texture that was created, or `null` if the key is already in use.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue