paper.js v0.12.12 Release Notes
-
๐ Fixed
- ๐ Fix installation problems on Windows by switching from NPM to Yarn for development (#1833).
๐ Changed
- ๐ Change
Item#raster({ resolution, insert })
to receive options object, while remaining backward compatible. - ๐ Change
Raster#smoothing
to support the values'low'
,'medium'
,'high'
and'off'
. Setting to a boolean value is still supported, translatingfalse
โ'off'
andtrue
โ'low'
.
โ Added
- ๐ Allow reusing of raster items in
Item#rasterize({ raster })
: By providing an existing raster inoptions.raster
, the raster and maybe even its underlying canvas can be reused, as long as the rasterized size doesn't change between rasterizations. This allows for big performance improvements.