Matrix: add param tags to #applyToContext documentation.

This commit is contained in:
Jonathan Puckey 2011-05-31 14:25:24 +02:00
parent 8b7d7b68e1
commit 31bf3ffa70

View file

@ -489,6 +489,9 @@ var Matrix = this.Matrix = Base.extend({
/**
* Applies this matrix to the specified Canvas Context.
*
* @param {CanvasRenderingContext2D} ctx
* @param {Boolean} [reset=false]
*/
applyToContext: function(ctx, reset) {
ctx[reset ? 'setTransform' : 'transform'](