Packages

@napi-rs/canvas

1.1.0 · 30 Oct 2026MIT47.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.1.0

30 Jul 2021Where it was published

0.1.100 is the newest release of 0.1.x.

In short

6 new3 fixed

Release note

Bug Fixes

  • Canvas.png() to canvas.encode('png')

  • Multi font families

  • Sample image size update

Features

  • Add .asWinding() to convert the sample image of SVG filltype

  • Add basic measureText setup

  • measureText with all textAlign and textBaseline

  • Support register font with family name alias

  • Support woff/woff2 fonts

  • Svg canvas backend