Eric Rowell
f953e4694f
tons of refactoring. Now have separate Transition and Tween classes
2012-04-03 22:23:13 -07:00
Eric Rowell
a6b526ee76
added new animation stop logic
2012-04-03 13:44:48 -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
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
86a1337017
fixed bug related to multiple removals of same node
2012-04-01 10:29:16 -07:00
Jason Follas
96659d7299
Revert to previous no-parameter (image/png) behavior if an exception is
...
encountered while calling canvas toDataURL() with parameters. See this
forum post: http://www.kineticjs.com/forum/viewtopic.php?f=10&t=423
2012-04-01 11:00:58 -04: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
08e2b74da9
preparing codebase for new pixel detection property
2012-04-01 00:31:02 -07:00
Eric Rowell
9994e8a37e
added getSize() method to Stage, Rect, and Image. Also updated unit tests
2012-03-31 00:08:50 -07:00
Eric Rowell
fc743d1442
undid last commit. I pulled in a commit from another fork which makes the isPointInPath extensible, but then realized that this doesn't really have a usage outside of my current path detection algo because the backstage layer needs to be redrawn each time
2012-03-30 22:04:51 -07:00
Yusuf Safak Bayram
79c778ebff
added extensible isPointInPath
2012-03-30 21:20:48 -07:00
Eric Rowell
d8c5ca24af
added scale save and restore logic to drag and drop operation
2012-03-25 23:56:38 -07:00
Eric Rowell
1f41e931b9
formatted code
2012-03-25 12:46:56 -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
e61f100b10
fixed edge case with new drag and drop bounds
2012-03-24 20:55:52 -07:00
Eric Rowell
f312c0cf9d
reworked transformation matrix operations with drag and drop
2012-03-24 20:52:17 -07:00
Eric Rowell
1fa41e6692
changed Matrix classname back to Transform
2012-03-24 10:03:28 -07:00
Eric Rowell
50ddf3f952
updated functional tests with new toDataUrl functionality
2012-03-24 00:08:08 -07:00
Eric Rowell
c8a6371ab5
Merge branch 'matrix'
2012-03-23 23:46:13 -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
Jason Follas
ef2f658b48
code formatting: tabs to spaces
2012-03-22 09:15:31 -04:00
Jason Follas
9d44834148
- Added check for child.isListening in _traverseChildren() to handle case when a node overlaps another and you don't want to handle events for the topmost node.
...
- Added support for event.offsetX/offsetY in _setMousePosition to work around a Kinetic bug observed in Windows 8/Internet Explorer 10
- Added MIME type support to toDataURL() so that additional image formats can be generated in accordance to the spec
2012-03-22 08:59:29 -04:00
Eric Rowell
afad713df3
code cleanup #2
2012-03-21 00:56:29 -07:00
Eric Rowell
d10721d85a
code cleanup
2012-03-21 00:52:45 -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
a9601fadc2
moved DOM creation logic from Stage constructor to a private method
2012-03-17 10:48:25 -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
Eric Rowell
039c9059a0
rewrote drag and drop logic. removed draggableX and draggableY. added new dragConstraint property and new dragBounds property
2012-03-13 22:11:22 -07:00
Eric Rowell
1ac858dea5
added foundation for transition support, and added linear transitions. easeIn, easeOut, and easeInOut transitions will come later.
...
git status
2012-03-12 22:41:09 -07:00
Eric Rowell
cbab484117
missed a bug fix with last push
2012-03-10 20:15:15 -08:00
Eric Rowell
07860a7dbd
bug fixes and enhancements. also updated the README
2012-03-10 16:52:16 -08:00
Eric Rowell
2346f2b10a
checking in split files in preparation for new Ruby build
2012-03-06 21:45:48 -08:00