rotate-component

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i rotate-component

Weekly Downloads

303

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tjholowaychuk