Commit Graph

766 Commits

Author SHA1 Message Date
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
6b68da49d9 rebuilt performance test framework. It now runs tests across multiple Kinetic versions to track performance improvements 2013-05-13 21:59:33 -07:00
Eric Rowell
cbf3c01327 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-05-13 08:58:29 -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
4e649e77c1 Update presentation-schedule.md 2013-05-12 01:44:30 -06: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
7c05184d85 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-05-11 16:45:00 -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
ce60d6a198 Merge pull request #441 from dhavelin/patch-1
Corrected date of presentation
2013-05-11 09:01:09 -07:00
dhavelin
0aa8559d17 Corrected date of presentation 2013-05-11 11:43:27 +02: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
Eric Rowell
ddee366f96 pointed to FRAF for cases when requestAnimationFrame isn't available 2013-05-09 09:45:30 -07:00
Eric Rowell
32854e529d reordered dependencies in thorfile 2013-05-08 09:56:11 -07:00
Eric Rowell
032eb9e4db updated docs 2013-05-08 09:44:03 -07:00
Eric Rowell
edc050067d node.setPosition() now uses setX() and setY() which handles the transform cache 2013-05-08 00:18:29 -07:00
Eric Rowell
76a399bfc0 major refactor of directory structure. Killed Util directory. Created Util.js file instead. Moved general purpose methods from Global to Util 2013-05-07 23:51:02 -07:00
Eric Rowell
e2d6993c89 added Global.addMethods() method and defined core constructors in Global 2013-05-07 23:17:57 -07:00
Eric Rowell
37e49085eb fixed typo in label docs 2013-05-07 10:24:57 -07:00
Eric Rowell
8f06f1eb67 heavily updated documentation 2013-05-07 10:19:54 -07:00
Eric Rowell
d67f1d2c1d exposed getRandomColor() method 2013-05-06 00:17:10 -07:00
Eric Rowell
2610851e4b fixed up radial gradients 2013-05-05 23:07:55 -07:00
Eric Rowell
8dc1666595 removed Transition, Tween, and transition tests from source. KineticJS has now partnered with GS to handle its Tweens (which it does marvelously) 2013-05-05 22:15:04 -07:00
Eric Rowell
11f269868f added batchDraw which enables you to call batchDraw() as many times as you want, and let Kinetic automatically combine layer draws together asynchronously 2013-05-05 22:09:32 -07:00
Eric Rowell
e66e147274 Animations can now be tied to multiple layers. Removed Transition and Tween class from the build. Unhooked transition unit and manual tests for now. Added new animation setLayers() and getLayers() methods 2013-05-05 20:57:31 -07:00
Eric Rowell
d75fd4b40a refactored filter API so that transitions can hook into the filter controls. Filter transitons are now working. Filters can now also have an unlimited number of parameters. added _applyFilter flag to ensure that new filters are only applied once, when needed, right before a redraw 2013-05-04 00:40:46 -07:00
Eric Rowell
e22f5c4bcf added dynamic color component setters, and also added more unit tests 2013-05-03 21:13:26 -07:00
Eric Rowell
58b081ef12 fixed a couple bugs introduced with transform matrix caching. Cleaned up addPointGetterSetter API. reorganized dynamic getter setter comments so that it's easier to keep track of them 2013-05-02 10:22:21 -07:00
Eric Rowell
43256d0916 added skew transform courtesy of danielkur #188 2013-05-01 10:56:01 -07:00
Eric Rowell
ecbebeef5a rewrote filters logic. Filters are now applied synchronously. It's now much easier to transition filter values. added clearFilter method 2013-04-30 22:28:05 -07:00
Eric Rowell
790b45ec87 added new get*RGB(), get*R(), get*G(), and get*B() methods for fill, stroke, and shadowColor. Also added new Kinetic.Type.getRGB() utility 2013-04-29 23:12:28 -07:00
Eric Rowell
79a46edad7 removed point specific logic from the Transition class. To run transitions, you can now only transition properties which are numbers only. This means that if you want to transition a point, such as offset, you can transition the offset property with a number which will transition both x and y, or you can transition offsetX or offsetY individually 2013-04-29 10:16:23 -07:00
Eric Rowell
bf8d2db0df multiple transitions on the same node are now supported 2013-04-28 14:14:45 -07:00
Eric Rowell
1dc323305b all attrs that have x and y components now have individual component setters. i.e. you can use setScale() and pass in an object, or setScaleX() and setScaleY() individually 2013-04-27 20:50:42 -07:00
Eric Rowell
5fca6b6e53 Merge pull request #412 from aniruddha-loya/master
Bug fix for getAttr(attr) function
2013-04-24 07:28:02 -07:00
aniruddha-loya
a71d3e1fa0 Bug fix for getAttr function
Now it permits to return user defined attributes which do not have a corresponding method, similar to setAttrs(config) that sets attributes as key-value whenever there is no method for the given key
2013-04-24 10:19:41 +03:00
Eric Rowell
a09908b4a5 Update presentation-schedule.md 2013-04-23 18:45:57 -07:00
Eric Rowell
8a78b62cad added matrix transform caching, and optimized the clear() method. This has improved rendering performance by about 17% 2013-04-21 22:42:25 -07:00
Eric Rowell
90a2820e5b toDataURL and toImage now work correctly on devices with a pixel ratio != 1 2013-04-14 09:41:59 -07:00
Eric Rowell
8657c57436 fixes #391 2013-04-14 07:43:02 -07:00
Eric Rowell
9160b694ae transition call back is called using the nodes context. This means that you can access the node with the this keyword 2013-04-13 12:15:08 -07:00
Eric Rowell
8138d2d286 cleaned up Canvas 2013-04-12 23:45:22 -07:00
Eric Rowell
ad0ecd9fe9 fixes #388 unregister shape color key on destroy, not remove 2013-04-12 01:14:31 -07:00
Eric Rowell
9cb3cb9d63 created new sub class called Canvas2D which extends Canvas, and a new GenericCanvas subclass which also extends Canvas. The GenericCanvas class will be used to instantiate non 2d canvas renderers. Also created new contextType property. Setup webgl unit test 2013-04-12 00:48:41 -07:00