Changelog
0.14.0 - 2016-06-17
mouseenter
event on deep nesting caseChangelog
0.12.4 - 2016-04-19
batchDraw
will do not immediate draw()
Changelog
0.12.2 - 2016-03-31
cancelBubble
event property behaviourPath
getClientRect()
calculationmousewheel
event changed to wheel
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.5 - 2015-05-28
to
will not throw error if no onFinish
callbackgetClientRect
calculationcontext.fillStyle
property in your sceneFunc
without accessing native context.toDataURL
now handles pixelRatio. you can pass config.pixelRatio
argumentclone()
for custom nodesFastLayer
can now have transformsstage.toDataURL()
method now works synchronously. So callback
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.Konva.Image.fromURL
methodfillRed
, fillGreen
, fillBlue
, fillAlpha
are deprecated. Use fill
instead.strokeRed
, strokeGreen
, strokeBlue
, strokeAlpha
are deprecated. Use stroke
instead.shadowRed
, shadowGreen
, shadowBlue
, shadowAlpha
are deprecated. Use shadow
instead.dashArray
is deprecated. Use dash
instead.drawFunc
is deprecated. Use sceneFunc
instead.drawHitFunc
is deprecated. Use hitFunc
instead.rotateDeg
is deprecated. Use rotate
instead.Changelog
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