mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-23 07:49:48 -05:00
Matrix: add param tags to #applyToContext documentation.
This commit is contained in:
parent
8b7d7b68e1
commit
31bf3ffa70
1 changed files with 3 additions and 0 deletions
|
@ -489,6 +489,9 @@ var Matrix = this.Matrix = Base.extend({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Applies this matrix to the specified Canvas Context.
|
* Applies this matrix to the specified Canvas Context.
|
||||||
|
*
|
||||||
|
* @param {CanvasRenderingContext2D} ctx
|
||||||
|
* @param {Boolean} [reset=false]
|
||||||
*/
|
*/
|
||||||
applyToContext: function(ctx, reset) {
|
applyToContext: function(ctx, reset) {
|
||||||
ctx[reset ? 'setTransform' : 'transform'](
|
ctx[reset ? 'setTransform' : 'transform'](
|
||||||
|
|
Loading…
Reference in a new issue