Konva v0.9.5 Release Notes
Release Date: 2015-05-28 // almost 9 years ago-
๐ Fixed
to
will not throw error if noonFinish
callback- ๐ HDPI support for desktop
- ๐ Fix bug when filters are not correct for HDPI
- ๐ Fix bug when hit area is not correct for HDPI
- ๐ Fix bug for incorrect
getClientRect
calculation - Repair fill gradient for text
๐ Changed
- context wrapper is more capable with native context.
So you can use
context.fillStyle
property in yoursceneFunc
without accessing native context. toDataURL
now handles pixelRatio. you can passconfig.pixelRatio
argument- ๐ฏ Correct
clone()
for custom nodes FastLayer
can now have transforms- ๐
stage.toDataURL()
method now works synchronously. Socallback
argument is not required. - ๐
container.find(selector)
method now has a validation step. So if you forgot to add#
or.
you will see a warning message in the console.
โ Added
- ๐ new
Konva.Image.fromURL
method
๐ Deprecated
- ๐
fillRed
,fillGreen
,fillBlue
,fillAlpha
are deprecated. Usefill
instead. - ๐
strokeRed
,strokeGreen
,strokeBlue
,strokeAlpha
are deprecated. Usestroke
instead. - ๐
shadowRed
,shadowGreen
,shadowBlue
,shadowAlpha
are deprecated. Useshadow
instead. - ๐
dashArray
is deprecated. Usedash
instead. - ๐
drawFunc
is deprecated. UsesceneFunc
instead. - ๐
drawHitFunc
is deprecated. UsehitFunc
instead. - ๐
rotateDeg
is deprecated. Userotate
instead.