clone-canvas

Clone a canvas by drawing it into a new one

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
clone-canvas
001.0.07 years ago7 years agoMinified + gzip package size for clone-canvas in KB

Readme

clone-canvas
Clone a canvas by drawing it into a new one.

Install

With npm do:
$ npm install clone-canvas --save-dev

Usage

var cloneCanvas = require('clone-canvas');
var canvas = document.getElementBy('inputCanvas');
var clone = cloneCanvas(canvas);

License

MIT