Commit Graph

261 Commits

Author SHA1 Message Date
lavrton
d48439b952 refactor 2015-02-03 10:40:32 +07:00
lavrton
3ef33af2ee new strokeHit property 2015-02-03 10:31:31 +07:00
lavrton
3b94673d73 Merge branch 'master' of https://github.com/jovination/konva into jovination-master
Conflicts:
	src/Stage.js
	test/unit/Node-test.js
	test/unit/Shape-test.js
	test/unit/plugins/Path-test.js
2015-01-27 15:15:05 +07:00
Jovination
607ef1837b Renaming 2015-01-27 00:07:51 -07:00
lavrton
f9a08a6acc rendering shadows and strokes test improve 2015-01-27 13:21:02 +07:00
lavrton
46bb48e470 fix docs 2015-01-20 17:06:21 +07:00
Лаврёнов Антон
a4ea6a65a5 intersects with shadow. close #1027 2014-10-02 22:41:51 +08:00
Лаврёнов Антон
22da5892e2 resolve lint errors + some refactoring 😯 2014-08-19 19:27:46 +08:00
Лаврёнов Антон
1db8fec21c test + refactoring 2014-05-17 21:10:49 +08:00
Лаврёнов Антон
012db6594c Merge branch 'get-intersection-cache' of git://github.com/vmichnowicz/KineticJS into vmichnowicz-get-intersection-cache
Conflicts:
	src/Container.js
	src/Shape.js
2014-05-17 13:16:45 +08:00
Victor Michnowicz
70564cc1e4 Update clearing of getImageData cache 2014-05-17 00:06:46 -04:00
Лаврёнов Антон
917ca5bc56 better caching if node not in layer 2014-05-11 20:22:30 +08:00
Лаврёнов Антон
4cf968749c unit test for drawing hit before adding shape to layer 2014-05-04 12:11:50 +08:00
Лаврёнов Антон
224790f7c9 Merge branch 'fix-cache-hit-before-added-to-layer' of git://github.com/kzhdev/KineticJS into kzhdev-fix-cache-hit-before-added-to-layer 2014-05-04 11:55:43 +08:00
Лаврёнов Антон
01964549eb now we may use cache before adding to layer 2014-04-27 22:39:51 +08:00
Лаврёнов Антон
70d7b127c0 find("Label") bug fixed. close #905 2014-04-25 19:17:12 +08:00
Eric Rowell
2df46b4ace striped out br tags from the docs 2014-04-03 20:17:09 -07:00
Eric Rowell
59a571c635 refactored cache method to work better with containers and also fast layers 2014-03-22 00:13:05 -07:00
Eric Rowell
c623666206 deprecated transformsEnabled property. Continued developing the new FastLayer class 2014-03-09 12:41:16 -07:00
Лаврёнов Антон
6db2694637 fix #663 2014-03-07 18:20:03 +08:00
Лаврёнов Антон
347e4d697f replace bitwise OR with Math.round 2014-03-04 20:04:39 +08:00
Лаврёнов Антон
a524ba9ec1 fix #767 2014-03-03 19:24:00 +08:00
Лаврёнов Антон
eb16e29197 only lint errors fixes 2014-02-27 08:49:18 +08:00
kzhdev
a3cebbb147 draw cache hit only when the shape was listening and visible 2014-01-22 11:25:16 -06:00
kzhdev
5fac5b5cb3 Fixed an issue where hit didn't cached if a shape was cached before added to a layer. Fix #758 2014-01-22 11:24:12 -06:00
Eric Rowell
da28418239 introduced new alpha component for colors. fixed #755. Created new validators namespace for getter setter validator functions 2014-01-20 11:26:01 -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
Eric Rowell
79f86f2fe0 fixed pattern scale default issue 2014-01-12 21:48:33 -08:00
Eric Rowell
290d66880a finished Shape docs 2014-01-12 00:23:53 -08:00
Eric Rowell
2c5f332706 continued working on Shape docs 2014-01-11 20:54:57 -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
9e574fd241 added support for Factor getter setter validators 2014-01-10 01:29:41 -08:00
Eric Rowell
4b367ae2c8 halfway finished with updating Shape docs 2014-01-09 22:56:56 -08:00
Eric Rowell
baf635c7f0 changed dashArray to dash. started chipping away at the Shape docs 2014-01-09 22:37:27 -08:00
Eric Rowell
13b91d0db7 removed color getter and setters from Factory. color components are now red, green, and blue, not r, g, b 2014-01-09 00:29:38 -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
ceddf561fc removed shape enablers and disables. They were reduandant methods and muddied up the API 2014-01-05 21:03:11 -08:00
Eric Rowell
65a0aecb97 added test for hit region draw from blurred image 2014-01-05 01:24:23 -08:00
Eric Rowell
4d323c7b57 new drawHitFromCache Shape method replaces Image createImageHitRegion 2014-01-05 01:10:56 -08:00
Eric Rowell
7e2c6c97f8 changed drawFunc to sceneFunc and drawHitFunc to hitFunc 2014-01-04 23:34:01 -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
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
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
c7d7fef80a cleaned up docs in Shape.js 2013-12-12 21:41:41 -08:00
Eric Rowell
0bad22955a removed instances of hit graph enable caching. Too complex and error prone at the moment 2013-12-09 22:15:26 -08:00
Eric Rowell
1f4ff9f1d7 cleaned up isListening API. introduced new enableHitGraph config that can be used to disable the hit graph 2013-12-09 10:07:08 -08:00
Eric Rowell
13a98a350c all unit tests are now passing 2013-12-04 10:55:50 -08:00