Eric Rowell
|
16c251bb97
|
added drawFunc property to layer so that layers can easily draw non-node background graphics
|
2012-05-09 18:53:20 -07:00 |
|
Eric Rowell
|
a27741ce03
|
added shadow support. changed fillStroke method to shadowFillStroke
|
2012-05-08 23:06:13 -07:00 |
|
Eric Rowell
|
622278a510
|
point properties can now be set with an array of points or an array of numbers for convenience
|
2012-05-08 22:11:37 -07:00 |
|
Eric Rowell
|
ffd9924511
|
tweaked throttling algo and added unit tests
|
2012-04-28 19:52:45 -07:00 |
|
Eric Rowell
|
3ac0e5592e
|
added throttling unit tests
|
2012-04-28 11:41:58 -07:00 |
|
Eric Rowell
|
4e82139b74
|
added layer throttling which greatly improves drag and drop and other mousemove drawing performance
|
2012-04-28 11:18:40 -07:00 |
|
Eric Rowell
|
c698005adc
|
refactored fillStroke() method
|
2012-04-14 21:53:00 -07:00 |
|
Eric Rowell
|
47b8a8e0d6
|
new setDetectionType() and getDetectionType() methods to enable path and pixel detection swapping
|
2012-04-14 21:46:38 -07:00 |
|
Eric Rowell
|
a908c59769
|
fixed center offset + drag and drop bug by fixing a root problem with the getAbsoluteTransform() method. This method no longer takes into account the center offset. Center offset transforms are now applied separately
|
2012-04-14 18:27:06 -07:00 |
|
Eric Rowell
|
df8df63400
|
refactored setAbsolutePosition() method and Shape _draw method
|
2012-04-14 16:27:00 -07:00 |
|
Eric Rowell
|
3a520376e5
|
fixed stage.hide() bug, created new isVisible() method, and moved visible check to container
|
2012-04-14 12:04:45 -07:00 |
|
Eric Rowell
|
63c8dde6d5
|
no longer auto clearing shape data. added new shape.clearData() method instead
|
2012-04-08 20:25:31 -07:00 |
|
Eric Rowell
|
ff896a4946
|
unit tests and functional tests now passing. Next up, re-integrate serialization with new attrs structure
|
2012-04-07 14:04:15 -07:00 |
|
Eric Rowell
|
dc45f5e2d6
|
when using pixel detection, clear shape data whenever shape is drawn
|
2012-04-04 19:53:11 -07:00 |
|
Eric Rowell
|
2dff730081
|
added functional test that tests all of the transition easing functions
|
2012-04-03 23:46:59 -07:00 |
|
Eric Rowell
|
602220bdce
|
finished new animation, transitions, and tweens functionality
|
2012-04-03 23:00:35 -07:00 |
|
Eric Rowell
|
f953e4694f
|
tons of refactoring. Now have separate Transition and Tween classes
|
2012-04-03 22:23:13 -07:00 |
|
Eric Rowell
|
9e3baf69c1
|
added first phase of transition event subscription
|
2012-04-03 14:08:06 -07:00 |
|
Eric Rowell
|
d5834c8351
|
more new transition architecture integration
|
2012-04-02 22:54:05 -07:00 |
|
Eric Rowell
|
77aea95e7a
|
round 1 of animation + transition rewrite, while combing Xaric's Tween port
|
2012-04-02 21:03:59 -07:00 |
|
Eric Rowell
|
6ce9d5489c
|
reworked pixel detection. I now require the dev to use shape.save() to save the pixel data for performance reasons
|
2012-04-01 19:38:30 -07:00 |
|
Eric Rowell
|
72c0555d0b
|
pixel detection performance was horrible for large amounts of shapes. Added some optimizations which require knowledge of a shape's perceivable position and size based on transforms. This will be added in later. For the time being, only Kinetic.Images will have access to the detectionType property. Image cannot be transformed or offset with the center offset. Support for these will come soon as well.
|
2012-04-01 17:18:01 -07:00 |
|
Eric Rowell
|
313c6a1541
|
fixed drag and drop bug related to drag constraints and positioned containers. Just needed to move the drag constraint logic after the matrix unravel
|
2012-04-01 15:59:12 -07:00 |
|
Eric Rowell
|
bdafb3eb25
|
when node is at the edge of the canvas, and you mouse over the node and then off the canvas, the mouseout handlers for the node are executed
|
2012-04-01 11:34:22 -07:00 |
|
Eric Rowell
|
71b0449071
|
fixed drag and drop issue and reverted default easing back to linear
|
2012-04-01 10:06:00 -07:00 |
|
Eric Rowell
|
3a8afc747c
|
fixed bug related to multiple drag and drop initializations
|
2012-04-01 09:32:20 -07:00 |
|
Eric Rowell
|
98917fe644
|
transformed the layer in the star pixel detection functional test to make sure parent transforms don't break the pixel detection
|
2012-04-01 01:21:39 -07:00 |
|
Eric Rowell
|
95fabe9160
|
finished pixel detection algo which can be applied to any Shape. This enables a lot of new functionality, such as image pixel detection, shape border detection, and custom shape detection that isn't drawn with a standard path
|
2012-04-01 01:08:33 -07:00 |
|
Eric Rowell
|
eaab71e242
|
added another functional test to cover more transform and drag and drop cases
|
2012-03-25 22:58:07 -07:00 |
|
Eric Rowell
|
fbb6d0f706
|
again reworked the matrix transform logic with drag and drop
|
2012-03-25 12:45:46 -07:00 |
|
Eric Rowell
|
8ee223584d
|
added support for evt.shape so any event handler can have access to the shape that was interacted with
|
2012-03-24 21:11:42 -07:00 |
|
Eric Rowell
|
f312c0cf9d
|
reworked transformation matrix operations with drag and drop
|
2012-03-24 20:52:17 -07:00 |
|
Eric Rowell
|
50ddf3f952
|
updated functional tests with new toDataUrl functionality
|
2012-03-24 00:08:08 -07:00 |
|
Eric Rowell
|
68f9688575
|
finished matrix integration. the stage, layers, groups, and nodes can be transformed in anyway, and drag and drop on any of these nodes now works great regardless of parent node transforms
|
2012-03-23 23:39:54 -07:00 |
|
Eric Rowell
|
7ced50f694
|
changed Stage constructor to accept a config object. Now that Stage is a node, every KineticJS object requires the same config object which bubbles up through the parent classes
|
2012-03-22 23:17:52 -07:00 |
|
Eric Rowell
|
0da8adfb6e
|
added Matrix.js and started integration
|
2012-03-22 13:47:37 -07:00 |
|
Eric Rowell
|
d10721d85a
|
code cleanup
|
2012-03-21 00:52:45 -07:00 |
|
Eric Rowell
|
8aa5fcf560
|
fixed clear transition bug
|
2012-03-20 22:46:54 -07:00 |
|
Eric Rowell
|
2977d8f1d8
|
implemented ease-in, ease-out, and ease-in-out transitions
|
2012-03-19 22:36:30 -07:00 |
|
Eric Rowell
|
8f0aebad11
|
prepared transition logic for new easing functions
|
2012-03-19 21:09:13 -07:00 |
|
Eric Rowell
|
588b65a849
|
fixed transition bug related to frame.timeDiff
|
2012-03-19 19:39:41 -07:00 |
|
Eric Rowell
|
70fe63b2b6
|
cleaned up animation and transition interaction
|
2012-03-18 19:50:20 -07:00 |
|
Eric Rowell
|
84e7e71461
|
improved mouseover and mouseout event handling by ignoring parent handlers if mouse moves from one child to another
|
2012-03-18 11:24:57 -07:00 |
|
Eric Rowell
|
9a61e149df
|
fixed mousemove bug for overlapped shapes in different groups
|
2012-03-17 19:48:54 -07:00 |
|
Eric Rowell
|
fafb5db93f
|
added support for event bubble cancelation
|
2012-03-17 14:35:34 -07:00 |
|
Eric Rowell
|
ed35c6dbba
|
added scrollbar support for container DOM, structured the unittests a bit better, and did some minor refactoring
|
2012-03-17 10:28:25 -07:00 |
|