@param doc about scaleMode in Texture.fromCanvas
This commit is contained in:
parent
85e6d1928e
commit
ad7ced5407
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ PIXI.Texture.fromFrame = function(frameId)
|
|||
* @static
|
||||
* @method fromCanvas
|
||||
* @param canvas {Canvas} The canvas element source of the texture
|
||||
* @param scaleMode {Number} Should be one of the PIXI.scaleMode consts
|
||||
* @return Texture
|
||||
*/
|
||||
PIXI.Texture.fromCanvas = function(canvas, scaleMode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue