Commit Graph

784 Commits

Author SHA1 Message Date
Eric Rowell
824e9fdbee brought back Ellipse and ellipse tests 2013-06-06 22:07:53 -07:00
Eric Rowell
51643bcada fixed Chrome 27 bug which was drawing circles as rectangles 2013-06-06 21:56:40 -07:00
Adam Wróbel
88d4e768d0 Fix image filtering on retina screens.
Make sure you get the same pixel count in Safari/Chrome/FF - it should match
the pixel count of the image.
2013-06-06 14:04:25 -07:00
Eric Rowell
8a5ad235bd added some tween unit tests. all tween methods now return this 2013-06-04 22:39:11 -07:00
Eric Rowell
05bc2e9d1f Tweens now have built-in point array support. This means thatyou can tween any numeric value, or any array of points. Very handy for Line, spline, Polygon, and Blob 2013-06-03 22:09:47 -07:00
Eric Rowell
55e775c1ff rewrote Kinetic.Tween yet again. A Kinetic.Tween is no longer made up of Tweens. A single tween instance is used, which tweens a value from 0 to 1. Kinetic.Tween then uses the value between 0 and 1 to update all of the attributes. This performs much better, and sets us up for true array tweening support 2013-06-03 21:50:14 -07:00
Eric Rowell
c1bd40fcae first pass at implementing tweenable point arrays 2013-06-02 16:50:38 -07:00
Eric Rowell
98dff50c93 fixed all jshint errors except for Path, Mask, and Blur 2013-06-01 22:17:18 -07:00
Eric Rowell
77793aed60 lots of jshinting 2013-06-01 22:03:02 -07:00
Eric Rowell
3f67cc8b60 got started on jshint errors. still a lot to do 2013-06-01 16:23:31 -07:00
Eric Rowell
5d1a78589a updated class config param doc include replacements with grunt 2013-06-01 10:27:44 -07:00
Eric Rowell
489b7825c3 first pass at migrating the old Ruby build to Grunt 2013-06-01 00:53:32 -07:00
Eric Rowell
7b9322c15c custom builds that do not include drag and drop now work correctly fixes #465 2013-05-31 23:36:43 -07:00
Eric Rowell
244273eb4c prevent default now occurs in the stage addEvent method 2013-05-31 23:11:21 -07:00
Eric Rowell
324d841ed4 mousedown and touchstart events now always call preventDefault 2013-05-31 23:04:07 -07:00
Keldon Jones
014d4df1f2 Call onReset event when Tween resets to beginning 2013-05-31 15:49:22 -06:00
Eric Rowell
bb6046375e drag events should bubble 2013-05-21 07:14:27 -07:00
W. van Kuipers
539b18f501 removed tailing , to prevent JS errors in IE 2013-05-21 09:21:21 +02:00
Eric Rowell
2f43f26418 fixed Label regression 2013-05-21 00:13:32 -07:00
Eric Rowell
c9e281c48b fixed Tween and Util regression 2013-05-20 23:35:05 -07:00
Eric Rowell
ffbf0245e2 fixed #460 2013-05-20 22:41:13 -07:00
Eric Rowell
c7816642d7 fixes #414 2013-05-20 22:12:43 -07:00
Eric Rowell
4ef1a82bc8 rewrote Label API. Group plugins now require that children are added to the base class 2013-05-20 21:58:57 -07:00
Eric Rowell
ae326a9c89 label offsets, serialization, and deserialization now work. fixes #406 2013-05-20 09:42:16 -07:00
Eric Rowell
35b1f61bda tied className into toJSON and create. deprecated shapeType property and getShapeType method 2013-05-19 21:48:48 -07:00
Eric Rowell
7069bf9e0c stage tweens now work correctly. getChildren() and getLayers() now return a Kinetic.Collection. added toArray() method to Kinetic.Collection 2013-05-19 21:07:43 -07:00
Eric Rowell
056346c14d even more documentation 2013-05-18 22:30:57 -07:00
Eric Rowell
2ea5f83204 more docs, especially for Util and Tween 2013-05-18 10:40:05 -07:00
Eric Rowell
993ffd7b0e finished base constructor examples for core shape docs 2013-05-17 20:56:24 -07:00
Eric Rowell
375abc40fb updated more docs in reference to intersects(), getIntersections(), and getAllIntersections() 2013-05-17 16:20:37 -07:00
Eric Rowell
3433086079 changed getIntersections() to getAllIntersections() to indicate that the method returns more than may be needed. Updatee docs, and clarified the differences between intersects(), getIntersection(), and getAllIntersections() 2013-05-17 15:50:53 -07:00
Eric Rowell
4d682529b6 added more example docs 2013-05-17 15:35:21 -07:00
Eric Rowell
7c03f56ae9 added lots of constructor example docs 2013-05-17 15:09:57 -07:00
Eric Rowell
47364c63cd deprecated getNodeType(), added className property to label, and added lots of Node doc examples 2013-05-17 11:46:06 -07:00
Eric Rowell
d6a836ba5c Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-05-17 10:52:13 -07:00
Eric Rowell
b1d1981fe9 added getType() and getClassName() methods. beefed up on() docs 2013-05-17 10:51:56 -07:00
Aku Kotkavuo
b3e76a4e23 Fix variable leakage 2013-05-17 16:56:56 +03:00
Eric Rowell
70f5c405a9 finished the major doc updates 2013-05-16 00:28:49 -07:00
Eric Rowell
821138cc0a more documenting 2013-05-15 22:03:52 -07:00
Eric Rowell
b1025be75e updated docs in prep for jsdoc3 migration 2013-05-15 09:27:22 -07:00
Eric Rowell
8c9d2b5459 setAttr() is now a public method that can be used to set Kinetic attrs, or custom attrs 2013-05-14 22:37:33 -07:00
Eric Rowell
e024b43906 deprecated Ellipse shape, since you can create ellipses now with circles. updated tests 2013-05-13 22:19:51 -07:00
Eric Rowell
fc1e388f22 cleaned up internal firing logic. the fire method now does not bubble events by default, to prevent devs from unknowingly bubbling events that they don't care to bubble, inadvertantly affecting performance 2013-05-13 08:56:09 -07:00
Eric Rowell
2cf81cc6dd attr change events no longer bubble. this improves setter + render performance by about 25% 2013-05-12 23:37:24 -07:00
Eric Rowell
f9277b8fec more Tween polishing 2013-05-11 23:57:14 -07:00
Eric Rowell
09c2a461c7 fix #442 2013-05-11 20:07:20 -07:00
Eric Rowell
3e99e5e705 seek should auto pause the tween 2013-05-11 16:48:24 -07:00
Eric Rowell
264d98c1ce polished up the new Tween class. goto changed to seek. auto property conflict resolution. onFinish can now be set 2013-05-11 16:43:09 -07:00
Eric Rowell
335bd10310 changed Ease namespace to Easings 2013-05-10 22:17:58 -07:00
Eric Rowell
622041aeaf added Tween class which replaces the old Transition class 2013-05-10 22:10:05 -07:00