feat: resetTransform

This commit is contained in:
zenozeng 2021-05-03 14:25:09 +00:00
parent 1ab5658372
commit 5af6598240

View File

@ -1196,7 +1196,6 @@
* the matrix given by the arguments as described below.
*/
ctx.prototype.setTransform = function (a, b, c, d, e, f) {
};
/**
@ -1210,10 +1209,12 @@
};
/**
* ResetTransform changes the current transformation matrix to the identity matrix
* ResetTransform resets the current transformation matrix to the identity matrix
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/resetTransform
*/
ctx.prototype.resetTransform = function () {
this.setTransform(1, 0, 0, 1, 0, 0);
};
/**