npm.io
1.0.0 • Published 13 years ago

rotate-component

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

rotate

Canvas rotation with origin support, expressed in radians or degrees.

Installation

$ component install component/rotate

API

rotate(ctx, options)
rotate(ctx, { x: 50, y: 50, degrees: 180 });

License

MIT

Keywords