JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q31727F
  • License MIT

matrix2d

Package Exports

  • matrix2d.js
  • matrix2d.js/dist/cjs/main.js
  • matrix2d.js/dist/esm/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (matrix2d.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

matrix2d.js

Matrix2D from CreateJS

Docs

Usage

npm install --save matrix2d.js

import Matrix2D from "matrix2d.js";

const mtx = new Matrix2D();
mtx.appendTransform(o.x, o.y, o.scaleX, o.scaleY, o.rotation);