Browse Source

Readme: add `Image` variable example

See #418.
v1.x
Nathan Rajlich 11 years ago
parent
commit
1961e52616
  1. 1
      Readme.md

1
Readme.md

@ -26,6 +26,7 @@ Unless previously installed you'll _need_ __Cairo__. For system-specific install
```javascript
var Canvas = require('canvas')
, Image = Canvas.Image
, canvas = new Canvas(200,200)
, ctx = canvas.getContext('2d');

Loading…
Cancel
Save