Commit Graph

362 Commits

Author SHA1 Message Date
Eric Rowell
386971ce70 Merge branch 'master' of git://github.com/ericdrowell/KineticJS 2014-03-21 20:45:01 -07:00
Eric Rowell
e5562f5dbb added angleDeg flag that enables developers to choose radians if they like 2014-03-21 20:44:25 -07:00
Лаврёнов Антон
a737baad62 update dispatchEvent and addEventListener for new API 2014-03-21 14:45:38 +08:00
Eric Rowell
47ecb4559d now passing Kinetic event object instead of native event object 2014-03-20 21:55:30 -07:00
Eric Rowell
e6b44bb75d fixed #539 and also added size() overloader 2014-03-20 20:39:40 -07:00
Лаврёнов Антон
b8945b8fed Debug info while caching 2014-03-12 00:01:58 +08:00
Лаврёнов Антон
b364af6f4d Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-03-11 23:15:20 +08:00
Лаврёнов Антон
d0c7aed452 tests for drag distance 2014-03-11 23:14:03 +08:00
Eric Rowell
aa7f56be26 fixed up caching now that transformsEnabled attr has been removed 2014-03-09 22:59:53 -07:00
Eric Rowell
c623666206 deprecated transformsEnabled property. Continued developing the new FastLayer class 2014-03-09 12:41:16 -07:00
Eric Rowell
09af9f62dd setup FastLayer. Layer won't extend FastLayer until FastLayer is complete 2014-03-08 18:05:14 -08:00
Лаврёнов Антон
d65201a12f stage clone has new container. fix #707 2014-03-07 22:51:26 +08:00
Лаврёнов Антон
e5db9115a0 black list for clone function. fix #583 2014-03-02 21:51:35 +08:00
Лаврёнов Антон
cadcb91fbc ignoring index functions (moveToTop, moveUp, moveDown, moveToBottom, setZIndex) if node has no parent 2014-03-01 20:23:37 +08:00
Лаврёнов Антон
3c508f96ab evt.targetNode property for Hammer Event 2014-02-28 08:20:20 +08:00
Лаврёнов Антон
eb16e29197 only lint errors fixes 2014-02-27 08:49:18 +08:00
Anton Lavrenov
627040990b Merge pull request #823 from lavrton/extendEvents
Some event methods aliases
2014-02-24 23:48:23 +07:00
Лаврёнов Антон
7e62414f0c docs: fix cache config 2014-02-24 22:33:25 +08:00
Лаврёнов Антон
9926f5a6a9 setSize docs improve 2014-02-24 22:20:19 +08:00
Лаврёнов Антон
e97f3a4138 more event methods 2014-02-21 09:03:21 +08:00
Eric Rowell
82db0dd843 using getter overloader for toObject() method 2014-01-21 00:00:38 -08:00
Eric Rowell
99719bad44 fixed #769 2014-01-20 23:56:35 -08:00
Eric Rowell
9579d4b2f6 Merge pull request #739 from lavrton/docImprove
Doc improve
2014-01-19 21:57:48 -08:00
Eric Rowell
f1b1c58166 all methods are now copied to Collection prototype so that you don't have to use the each() method all the time 2014-01-19 21:35:28 -08:00
Лаврёнов Антон
41927fd0c1 toImage don't return image - because async. 2014-01-13 01:03:23 +08:00
Лаврёнов Антон
de8073b89b toDataURL don't need callback. It is sync function. 2014-01-13 01:02:40 +08:00
Лаврёнов Антон
a2714debe6 evt and bubble is optional 2014-01-13 00:46:18 +08:00
Eric Rowell
2c5f332706 continued working on Shape docs 2014-01-11 20:54:57 -08:00
Eric Rowell
cb78b9bd0e removed Polar Tests and make a few tweaks to Node 2014-01-11 12:55:19 -08:00
Eric Rowell
99e7ad4bf0 added back compat Factor method and plugged in the methods that changed with the 5.0.0 release 2014-01-10 22:58:55 -08:00
Eric Rowell
79701fcca0 reverted center attr back to offset. I think it's more confusing 2014-01-10 22:09:22 -08:00
Eric Rowell
f73baa1a4e cutting down Factory by creating a addComponentsGetterSetter method which all component attrs will use 2014-01-08 23:13:50 -08:00
Eric Rowell
fc8273e792 updated overloaded docs for d&d, node, shape, stage, sprite, text, and wedge 2014-01-07 23:56:49 -08:00
Eric Rowell
66b65f1c19 removed radian angle attrs. All rotations are set in degrees now 2014-01-06 21:37:46 -08:00
Eric Rowell
bd5b6de77f updated Node docs 2014-01-05 14:55:35 -08:00
Eric Rowell
0d7cfdee9d added more cache and filter tests 2014-01-05 13:21:05 -08:00
Eric Rowell
4d323c7b57 new drawHitFromCache Shape method replaces Image createImageHitRegion 2014-01-05 01:10:56 -08:00
Eric Rowell
fae1c538f3 changed offset to center 2014-01-04 23:56:33 -08:00
Eric Rowell
bd8a293345 changed getLevel to getDepth 2014-01-02 23:03:27 -08:00
Eric Rowell
12e7b06978 first pass at integrating filters into new caching mechanism. added group filter test. Removed blurX and blurY filters because I don't think they'll be needed in their current state. Commented out half filter blur test because it's not a common use case. other filter tests have been disabled for now. Working on enabling them with future commits 2013-12-31 13:04:05 -08:00
Eric Rowell
e1558c1b40 caching mechanism no longer auto adjusts offsets. It causes too many side effects 2013-12-30 14:34:57 -08:00
Eric Rowell
a47726eb2f added support for cached node with transformed ancestors 2013-12-29 21:40:37 -08:00
Eric Rowell
90b07cea05 refactored Container drawScene and drawHit methods, and cleaned up clipping logic. Clipping now correctly also clips the hit graph 2013-12-29 14:07:58 -08:00
Eric Rowell
b5165fa8fb first pass at new drawing caching mechanism 2013-12-28 13:25:15 -08:00
Eric Rowell
4866acdf93 transformsEnabled property now accepts all, none, or position. Also started prelim work for new caching system 2013-12-19 23:29:23 -08:00
Eric Rowell
b273c29aee removed old test directory. added getter setter overloaders to Shape. Began redoing documentation on Node 2013-12-13 21:33:40 -08:00
Eric Rowell
fe7b4daebc factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX() 2013-12-13 11:02:07 -08:00
Eric Rowell
f31254bb87 improved transformsEnabled logic and added tests 2013-12-11 22:34:02 -08:00
Eric Rowell
cd1ae9141e visible attr can now be inherit, true, or false, like listening 2013-12-11 07:46:49 -08:00
Eric Rowell
6d31f6ed08 new transformsEnabled property which yields absolute best rendering performance 2013-12-10 23:28:46 -08:00