@@ -199,7 +199,7 @@ var CanvasRenderer = new Class({
199199 * [description]
200200 *
201201 * @name Phaser.Renderer.Canvas.CanvasRenderer#snapshotType
202- * @type {?[type] }
202+ * @type {?string }
203203 * @default null
204204 * @since 3.0.0
205205 */
@@ -209,7 +209,7 @@ var CanvasRenderer = new Class({
209209 * [description]
210210 *
211211 * @name Phaser.Renderer.Canvas.CanvasRenderer#snapshotEncoder
212- * @type {?[type] }
212+ * @type {?number }
213213 * @default null
214214 * @since 3.0.0
215215 */
@@ -244,7 +244,7 @@ var CanvasRenderer = new Class({
244244
245245 this . width = width * resolution ;
246246 this . height = height * resolution ;
247-
247+
248248 this . gameCanvas . width = this . width ;
249249 this . gameCanvas . height = this . height ;
250250
@@ -302,9 +302,9 @@ var CanvasRenderer = new Class({
302302 * @method Phaser.Renderer.Canvas.CanvasRenderer#setBlendMode
303303 * @since 3.0.0
304304 *
305- * @param {[type] } blendMode - [description]
305+ * @param {number } blendMode - [description]
306306 *
307- * @return {[type] } [description]
307+ * @return {number } [description]
308308 */
309309 setBlendMode : function ( blendMode )
310310 {
@@ -444,7 +444,7 @@ var CanvasRenderer = new Class({
444444 if ( camera . _fadeAlpha > 0 || camera . _flashAlpha > 0 )
445445 {
446446 ctx . globalCompositeOperation = 'source-over' ;
447-
447+
448448 // fade rendering
449449 ctx . fillStyle = 'rgb(' + ( camera . _fadeRed * 255 ) + ',' + ( camera . _fadeGreen * 255 ) + ',' + ( camera . _fadeBlue * 255 ) + ')' ;
450450 ctx . globalAlpha = camera . _fadeAlpha ;
@@ -494,9 +494,9 @@ var CanvasRenderer = new Class({
494494 * @method Phaser.Renderer.Canvas.CanvasRenderer#snapshot
495495 * @since 3.0.0
496496 *
497- * @param {[type] } callback - [description]
498- * @param {[type] } type - [description]
499- * @param {[type] } encoderOptions - [description]
497+ * @param {function } callback - [description]
498+ * @param {string } type - [description]
499+ * @param {number } encoderOptions - [description]
500500 */
501501 snapshot : function ( callback , type , encoderOptions )
502502 {
0 commit comments