Skip to content

canvas rotation with origin support, expressed in radians or degrees

Notifications You must be signed in to change notification settings

component/rotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

canvas rotation with origin support, expressed in radians or degrees

Resources

Stars

Watchers

Forks

Packages

No packages published