Commit Graph

502 Commits

Author SHA1 Message Date
Eric Rowell
c2e138c6f4 for desktop browsers, always set pixel ratio to 1. When users have zoom enabled, it affects pixel ratio and causes artifacts. There doesn't appear to be a way to detect zoom level for modern browsers in order to adjust the pixel ratio 2014-02-26 07:57:05 -08:00
sonnym
2f7821c898 add font-variant support to Text and TextPath 2014-02-25 17:34:16 -05:00
Лаврёнов Антон
a7ceaa8f24 package.json is updated for latest version of libraries.
They works better, especially jshint.
(!) Please run `npm install` to update node_modules
2014-02-25 14:01:32 +08:00
Лаврёнов Антон
0a664e009c Sprite test improve 2014-02-25 00:54:20 +08:00
Лаврёнов Антон
08d9be8371 fix #447 2014-02-25 00:40:35 +08:00
Eric Rowell
f8ccd574cb made several optimizations to the Animation class. removed FRAF logic. Using performance.now when available. No longer creating a new function for every animation loop. requestAnimFrame is now called before render instead of after 2014-02-19 08:39:38 -08:00
David Bevin
5eb5a08e65 * Removed duplicated rotation test from Node-test.
* Renamed a test in Tween-test to give it a unique name.
2014-02-03 15:22:08 +11:00
ippo615
da5055cf28 New HSL filter. HSV and HSL want values between -1.0 and +1.0 (was 0.5 to 2.0) 2014-01-31 16:49:11 -05:00
ippo615
774f50007c Added HSL filter. 2014-01-27 19:59:42 -05:00
Guy Cook
d92a5f53e5 Shape.hasShadow cache fix
Typo was causing hasShadow cache not to be invalidated after using
setShadowEnabled. Fixes issue #693
2014-01-26 17:17:14 +13:00
Eric Rowell
99719bad44 fixed #769 2014-01-20 23:56:35 -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
708937d5c5 reenabling all tests 2014-01-19 22:01:35 -08:00
Eric Rowell
2243010d33 collections are now chainable 2014-01-19 21:37:13 -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
0e0c92da18 added Node unit test 2014-01-11 14:59:19 -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
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
749c8731db removed filter getter setter from factory. Filter methods now use addGetterSetter like all of the other classes 2014-01-08 23:40:47 -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
4d8ee45f71 Sprite animations keys are now set to arrays of integers, not array of object literals containing x y width and height. changed index attr to frameIndex 2014-01-07 00:43:31 -08:00
Eric Rowell
e594aa5656 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-01-06 21:51:58 -08:00
Eric Rowell
66b65f1c19 removed radian angle attrs. All rotations are set in degrees now 2014-01-06 21:37:46 -08:00
ippo615
f3c2bd5c01 Changed Kaleidoscope parameters: power and angle 2014-01-06 19:27:47 -05: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
3c9eee732f beginning to prep for 5.0.0 release. Disabling Ripple and Kaleidoscope filters for now because they aren't quite ready 2014-01-05 14:14:41 -08:00
Eric Rowell
3d76beb260 removed misspelled files 2014-01-05 13:40:54 -08:00
Eric Rowell
193b9d0970 fixed kaleidoscope filter spelling 2014-01-05 13:32:50 -08:00
Eric Rowell
09aaa44e07 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-01-05 13:21:27 -08:00
Eric Rowell
0d7cfdee9d added more cache and filter tests 2014-01-05 13:21:05 -08:00
ippo615
baf36a0ced Merge branch 'master' of https://github.com/ericdrowell/KineticJS
Conflicts:
	Gruntfile.js
2014-01-05 13:01:46 -05:00
ippo615
a947bd19ca Added Kalidescope filter. 2014-01-05 12:59:20 -05: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
fae1c538f3 changed offset to center 2014-01-04 23:56:33 -08:00
Eric Rowell
7e2c6c97f8 changed drawFunc to sceneFunc and drawHitFunc to hitFunc 2014-01-04 23:34:01 -08:00
ippo615
ff952bf958 Added ripple filter. 2014-01-04 23:21:26 -05:00
ippo615
e57f3802df Made enhance filter tweenable (-1=grey;0=no change;1=max enhancement) 2014-01-04 12:31:11 -05:00
Eric Rowell
b52845b32b added another hsv test 2014-01-04 06:37:08 -08:00
Eric Rowell
67f71e4785 added pixastic Solarize filter 2014-01-04 05:34:36 -08:00
Eric Rowell
0d944aac27 removed convolve pack. Added pixastic emboss filter 2014-01-04 05:21:44 -08:00
Eric Rowell
7f0dc2085b changed Levels filter to Posterize 2014-01-03 23:23:53 -08:00
Eric Rowell
cfe3091833 got the convolve filters working, but we still need to do some work on them 2014-01-03 23:09:49 -08:00
Eric Rowell
3814a1dddc continued cleaning up filter docs 2014-01-03 21:26:07 -08:00
Eric Rowell
dcf2962e2e split ColorPack into RGB and HSV filters. updated tests 2014-01-03 20:25:35 -08:00