File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ var TextureSource = require('./TextureSource');
2727 *
2828 * @param {Phaser.Textures.TextureManager } manager - A reference to the Texture Manager this Texture belongs to.
2929 * @param {string } key - The unique string-based key of this Texture.
30- * @param {(Image |HTMLCanvasElement) } source - The source that is used to create the texture. Usually an Image, but can also be a Canvas.
30+ * @param {(HTMLImageElement |HTMLCanvasElement) } source - The source that is used to create the texture. Usually an Image, but can also be a Canvas.
3131 * @param {number } [width] - The width of the Texture. This is optional and automatically derived from the source images.
3232 * @param {number } [height] - The height of the Texture. This is optional and automatically derived from the source images.
3333 */
@@ -343,7 +343,7 @@ var Texture = new Class({
343343 * @method Phaser.Textures.Texture#setDataSource
344344 * @since 3.0.0
345345 *
346- * @param {(Image |HTMLCanvasElement) } data - The source image.
346+ * @param {(HTMLImageElement |HTMLCanvasElement) } data - The source image.
347347 */
348348 setDataSource : function ( data )
349349 {
You can’t perform that action at this time.
0 commit comments