Changelog
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 tweeningChangelog
0.8.0 - 2015-02-04
getIntersection
functioncontainer.findOne()
methodstrokeHitEnabled
property. Useful for performance optimizations/resources/konva.d.ts
Differences from last official KineticJS
release
Bug Fixes
strokeScaleEnabled = false
is disabled for text as I can not find a way to implement thisstrokeScaleEnabled = false
for Line now creates a correct hit graphFastLayer
batchDraw
method for FastLayer
intersects
function now works for shapes with shadowEnhancements
cornerRadius
of Rect is limited by width/2
and height/2
black
is default fill for textrect instanceOf Konva.Shape
will return trueframeOffsets
attribute for Konva.Sprite
browserify
supportnode.off()
width
, height
, radius
attrs for circle, start, ellipse, ring.mousewheel
support. Thanks @vmichnowicznode.name('foo bar'); container.find('.foo');
(thanks @mattslocum)Container.findOne()