npm

@cprecioso/canvas-text-layout
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@cprecioso/canvas-text-layout

A homebrewed library to layout text in a canvas. It can split text into lines, align them, and place them in a containing box, respecting alignment, and more.

$ yarn add @cprecioso/canvas-text-layout    # if you use yarn
$ npm install @cprecioso/canvas-text-layout # if you use npm

Check out the API documentation for more information.

Package Sidebar

Install

npm i @cprecioso/canvas-text-layout

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

33.6 kB

Total Files

7

Last publish

Collaborators

  • cprecioso