Fork me on GitHub

Canvas textPath

To render text along a path in a Canvas.
It adds extra functionality to the CanvasRenderingContext2D by extending its prototype.
Text:

  1. align left
  2. align center
  3. align right
  4. justify
  5. overflow hidden
  6. overflow ellipsis
  7. overflow visible