Commit Graph

240 Commits

Author SHA1 Message Date
Лаврёнов Антон
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
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
Eric Rowell
f217200ed7 reverted factory methods but removed data type processing 2013-12-04 09:10:24 -08:00
Eric Rowell
c98a9d76a9 all shape and plugin tests are now passing again 2013-12-04 08:37:28 -08:00
Eric Rowell
533699b731 component attrs are now the source of truth again 2013-12-04 08:15:04 -08:00
Eric Rowell
fb25ba7c59 Factory getters now require function defaults which return an object literal because objects can be modified by reference 2013-12-03 22:54:16 -08:00
Eric Rowell
acd9518ab9 fixed up Circle and Ellipse tests 2013-12-03 22:01:22 -08:00
Eric Rowell
8c8cf0492c shape tests are now passing. all factor setters now return this 2013-12-02 22:16:58 -08:00
Eric Rowell
a57d6c6106 more unit tests working, more refactoring 2013-12-02 21:25:20 -08:00
Eric Rowell
722ae82f21 Rect tests are now passing 2013-12-01 23:47:24 -08:00
Eric Rowell
9e437d2b83 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-11-02 22:31:23 -07:00
Eric Rowell
f5d5e26e5e fixed pixel ratio issue with buffer canvas usage 2013-11-02 22:31:09 -07:00
kzhdev
9758cd7b38 Added kinetic namespace. 2013-10-03 19:57:45 -05:00
kzhdev
a246cb0de1 Fixed an issue where enableShadow/disableShadow didn't work after shap added into a layer 2013-10-03 15:00:15 -05:00
Eric Rowell
e8b479e89f optmized buffer canvas requirement logic 2013-09-29 13:01:13 -07:00
Eric Rowell
e13a0b5fd8 fixed issue with stage panning. stage node type needs to be declared before calling super constructor 2013-09-28 21:55:57 -07:00
Eric Rowell
a8cbc2321d hooked opacity rendering into the buffer canvas logic used for shadows so that strokes and fill opacities aren't applied separately 2013-09-28 20:34:42 -07:00
Eric Rowell
ba6e30aa97 shadow logic is now applied to buffer context, not a newly created one each time drawScene is created 2013-09-26 22:10:37 -07:00
Eric Rowell
4cf15cedb8 rewrote shadow logic. fill and strokes are now both taken into account. shape and shadow opacities now work well together 2013-09-26 01:39:50 -07:00
Eric Rowell
c40fc7cf38 removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars 2013-09-08 22:02:04 -07:00
Eric Rowell
976b88dea5 migrated path tests to Mocha, and also correctly fixed #567 2013-09-07 23:42:11 -07:00
Eric Rowell
0fc44eb3ff finished up all of the context traces for a simple rectangle rendering, and added unit test 2013-09-01 02:03:24 -07:00
Eric Rowell
8c3a53dc9d started working on context tracing. Added first context trace unit test 2013-09-01 01:13:52 -07:00