Socket
Book a DemoInstallSign in
Socket

rotate-component

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rotate-component

Canvas rotation with origin support

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
131
322.58%
Maintainers
1
Weekly downloads
 
Created
Source

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

canvas

FAQs

Package last updated on 07 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts