Skip to content

maineruby/jquery.chainvas.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jQuery Chainvas - Chainable Canvas
by James Daniels <[email protected]>

A quick little dirty helper to let you do things like:

$('#tutorial').getContext('2d')
  .clearRect(0,0,600,600)
  .save()
    .beginPath()
    .moveTo(200,200)
    .lineTo(0,0)
    .lineWidth(5)
    .stroke()
  .restore();

TODO: Make it less hackish and check it out on IE

Releases

No releases published

Packages

No packages published