konva-node
Advanced tools
Changelog
0.11.1 - 2016-01-16
Konva.Arrow
drawing. Now it works better.Label
shapecontentTap
event for stagelayer.on('click', 'Circle', handler);
node.findAncestors(selector)
and node.findAncestor(selector)
functionsstage.getIntersection
and layer.getIntersection
moveTo
and some other methods return this
getAbsolutePosition
support optional relative parent argument (useful to find absolute position inside of some of parent nodes)change
event will be not fired if changed value is the same as old valueChangelog
0.10.0 - 2015-10-27
stroke
and fill
support for Konva.Sprite
getClientRect
method of Konva.Line
and Konva.Container
.toObject()
behaviour for node with attrs with extended native prototypesKonva.Node.create
now works with objects.Konva.Tween
now supports tweening points to state with different lengthChangelog
0.9.0 - 2015-02-27
scale
now affects shadowOffset
cache
method for all buildin Konva shapes. (only for your custom Konva.Shape
instance).Tween
now supports color properties (fill
, stroke
, shadowColor
)addName
, removeName
, hasName
.perfectDrawEnabled
property for shape. See http://konvajs.org/docs/performance/Disable_Perfect_Draw.htmlshadowForStrokeEnabled
property for shape. See http://konvajs.org/docs/performance/All_Performance_Tips.htmlgetClientRect
method.to
method for every node for shorter tweening