Skip to content

Commit

Permalink
docs(): Update return type on toCanvasElement to use HTMLCanvasElement (
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO authored Feb 15, 2020
1 parent ccf90d9 commit f7e8069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shapes/object.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -1666,7 +1666,7 @@
* @param {Boolean} [options.enableRetinaScaling] Enable retina scaling for clone image. Introduce in 1.6.4
* @param {Boolean} [options.withoutTransform] Remove current object transform ( no scale , no angle, no flip, no skew ). Introduced in 2.3.4
* @param {Boolean} [options.withoutShadow] Remove current object shadow. Introduced in 2.4.2
* @return {String} Returns a data: URL containing a representation of the object in the format specified by options.format
* @return {HTMLCanvasElement} Returns DOM element <canvas> with the fabric.Object
*/
toCanvasElement: function(options) {
options || (options = { });
Expand Down

0 comments on commit f7e8069

Please sign in to comment.