skia-canvas
Advanced tools
Changelog
📦 ⟩ [v0.9.30] ⟩ Jun 7, 2022
reset()
][FontLibrary.reset] method to FontLibrary which uninstalls any fonts that had been dynamically installed via FontLibrary.use()
use()
][FontLibrary.use] method now checks for previously installed fonts with the same family name (or alias) and will replace them with the newly added fontclip
with an empty path (or one that does not intersect the current clipping mask) will now prevent drawing altogethertranslate
, rotate
, etc.) and line-drawing methods (moveTo
, lineTo
, ellipse
, etc.) are now silently ignored if called with NaN
, Infinity
, or non-Number values in the arguments rather than throwing an error
conicCurveTo()
][conicCurveTo] now correctly reflects the canvas's transform stateloadImage()
][loadImage] now returns a Promise that correctly resolves to an Image object<rect/>
as their first elementnode:alpine
docker images and the version used when building the precompiled binariesChangelog
📦 ⟩ [v0.9.29] ⟩ Feb 7, 2022
matte
][matte] argument.drawImage()
][mdn_drawImage] function is passed a Canvas object as its image source it will now rasterize the canvas before drawing. The prior behavior (in which it is drawn as a vector graphic) can now be accessed through the new [drawCanvas()
][drawCanvas] method which supports the same numerical arguments as drawImage
but requires that its first argument be a Canvas.clearRect()
][mdn_clearRect] are now properly antialiasedclip()
][mdn_clip] method now interprets the current translate/scale/rotate state correctly when combining clipping masks