Skip to content

brighthas/window2canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

window2canvas

window mouse position transform to canvas position.

Installation

Install with component(1):

$ component install brighthas/window2canvas

API

var w2c = require("window2canvas");
var cavansXY = w2c(canvasElement,clientX,clientY);
console.log(cavansXY.x , cavansXY.y);

License

MIT

About

window mouse position transform to canvas position.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published