Eric Rowell
|
7888ebe24d
|
Merge pull request #365 from nicomlas/master
Crop filter
|
2013-04-04 09:58:02 -07:00 |
|
Eric Rowell
|
25ff34bdde
|
fixes #362
|
2013-04-02 22:07:04 -07:00 |
|
Nicolas COSME
|
d81219f7f1
|
Add the Crop filter
|
2013-04-02 14:48:48 +02:00 |
|
Eric Rowell
|
793e43b0db
|
removed apply() Collection method. Added new mapMethods() Collection method, which is used internally to map node methods to collection methods
|
2013-03-25 22:43:35 -07:00 |
|
Eric Rowell
|
5192ccd954
|
after some more thought, I've decided to remove the Plugins namespace, but keep the plugins directory. I don't want 3rd parties putting some things in the Kinetic namespace, while others put things in the Plugin space. I really don't see a real need for the namespacing. For organizational purposes, the plugins directory still makes sense, however.
|
2013-03-24 20:42:27 -07:00 |
|
Eric Rowell
|
8a393cb6be
|
created new testJSON method which makes testing JSON comparisons really easy to debug. Also fixed small logic problem with new Image width and height getters. Reinabled all serialization/deserialization unit tests
|
2013-03-24 16:30:43 -07:00 |
|
Eric Rowell
|
a3db78cc0f
|
fixed up all of the data url isseus in the unit test suite
|
2013-03-24 16:04:56 -07:00 |
|
Eric Rowell
|
46c7b89e06
|
created new test method, testDataUrl, which makes it super easy to identify data url comparison failures that resulted from Chrome upgrades. Begain integrating. fixed all synchronous unit test data url comparison failures
|
2013-03-24 14:12:00 -07:00 |
|
Eric Rowell
|
b5aaab3584
|
began updating the data url strings to match recent Chrome changes
|
2013-03-24 13:32:52 -07:00 |
|
Eric Rowell
|
15a9f6165f
|
updated spline tests
|
2013-03-24 00:15:15 -07:00 |
|
Eric Rowell
|
542f675522
|
added getNodeType() and getShapeType() methods
|
2013-03-24 00:14:42 -07:00 |
|
Eric Rowell
|
ce793a4b25
|
refactored / cleaned up code in Node and DD
|
2013-03-23 22:56:22 -07:00 |
|
Eric Rowell
|
b5c1bc633a
|
removed dynamic drag and drop layer all together. In the end, the performance benefits (small) did not out weigh the complexity consequences
|
2013-03-23 21:47:15 -07:00 |
|
Eric Rowell
|
9db24812bd
|
removed simulate method. refactoring also fixed bug in which if you fire a custom event that has not been registered, the script no longer fails
|
2013-03-21 19:43:17 -07:00 |
|
Eric Rowell
|
5b3a87b98d
|
changed wrapping attribute to wrap
|
2013-03-20 09:26:55 -07:00 |
|
Eric Rowell
|
809da97a45
|
merged and tweaked pull request 314
|
2013-03-20 09:17:21 -07:00 |
|
Eric Rowell
|
fb2d816817
|
updated text test
|
2013-03-20 09:02:18 -07:00 |
|
Eric Rowell
|
97db4fc053
|
fixed up TextPath tests
|
2013-03-19 09:40:48 -07:00 |
|
Eric Rowell
|
f3dd9286a9
|
changed Gauss to Blur
|
2013-03-19 09:03:18 -07:00 |
|
Eric Rowell
|
4036aa5fc7
|
label offset is now adjusted whenever the text is updated
|
2013-03-17 22:01:52 -07:00 |
|
Eric Rowell
|
e43c2fbeb4
|
fixed logic in Text that was accessing padding attr directly without using the getter
|
2013-03-17 21:16:08 -07:00 |
|
Eric Rowell
|
e0e390f760
|
added getWidth() and getHeight() methods to Label
|
2013-03-17 17:56:39 -07:00 |
|
Eric Rowell
|
b37f50ba69
|
moved Path to Plugins namespace
|
2013-03-17 17:32:35 -07:00 |
|
Eric Rowell
|
a1f934d26a
|
changed label rect drawing from Polygon to Shape to support rounded corners soon. Also wrapped the text and rect inside of an inner group so that the label can be positioned based on the pointer tip
|
2013-03-17 17:20:06 -07:00 |
|
Eric Rowell
|
bb57810c9a
|
added arrow support for new label plugin
|
2013-03-16 00:33:56 -07:00 |
|
Eric Rowell
|
8e17729cea
|
first pass of new Label plugin
|
2013-03-15 23:35:40 -07:00 |
|
Eric Rowell
|
69f9374c8e
|
first pass at removing setDefaultAttrs logic to speed up node instantation performance
|
2013-03-15 08:33:05 -07:00 |
|
Louis Jolibois
|
c58db11a2a
|
refactored the whole _setTextData method of Kinetic.Text, added a 'wrapping' option.
Performances should improve.
Also, the text should not overflow anymore from the defined width like it sometimes did.
|
2013-03-15 15:40:30 +01:00 |
|
Eric Rowell
|
5c590bb88f
|
moved TextPath, RegularPolygon, and Star shapes to the plugins directory. updated all tests
|
2013-03-13 22:24:55 -07:00 |
|
Eric Rowell
|
012e495a69
|
new strokeScaleEnabled property which enables you to configure if the stroke style of a shape should scale or not as the shape itself scales, or as its ancestors scale
|
2013-02-21 09:14:44 -08:00 |
|
Eric Rowell
|
88e1c5fa08
|
Merge branch 'master' of github.com:ericdrowell/KineticJS
|
2013-02-20 21:31:10 -08:00 |
|
Eric Rowell
|
4a0087f72c
|
gauss cleanup
|
2013-02-20 21:30:24 -08:00 |
|
Eric Rowell
|
46f71d283f
|
added clipping functionality to containers. Currently, the clipping function can only be applied to layers and groups. The clipping region is also subject to the containers transforms, which means that you can also create transformed clipping regions.
|
2013-02-15 18:20:34 -08:00 |
|
Eric Rowell
|
ca0d3790b2
|
canvas elements now come with padding, margin, border, and background style resets
|
2013-02-15 15:18:02 -08:00 |
|
Eric Rowell
|
4d420efabd
|
Converted test failures to warnings where appropriate
|
2013-02-15 14:44:18 -08:00 |
|
Eric Rowell
|
322e88d454
|
new fillPriority attr which enables you to easily toggle between different fill types without having to null out fill attrs and reset other fill attrs
|
2013-01-30 09:50:36 -08:00 |
|
Eric Rowell
|
6cd7ab135f
|
moved some manual tests to unit tests and greatly refactored the manual test suite
|
2013-01-27 16:27:17 -08:00 |
|
Eric Rowell
|
6a73f4dcfb
|
added enabler / disabler tests for Text. added more documentation
|
2013-01-26 19:35:53 -08:00 |
|
Eric Rowell
|
624ec25c29
|
added enabler and disabler functions to toggle shape attrs that are either on or off, such as fill, stroke, shadow, and dashArray. Also fixed problem with shadows not being applied to non color filled shapes
|
2013-01-23 23:08:01 -08:00 |
|
Eric Rowell
|
8ed84f474a
|
fixed several memory issues with transition logic. Heavily refactored Transition module. New Animation isRunning method. destroy() method now correctly stops currently running transitions. added several transition and destroy related unit tests
|
2013-01-13 19:59:35 -08:00 |
|
Eric Rowell
|
b6ba1a503c
|
ids and names hashes used for node selection via get() has moved to Global in order to greatly simplify the selection logic. This means that node ids and names are shared across all stages. If two stages each have a node with the same id, only the last id set will be accessibile (similar to DOM)
|
2013-01-13 11:10:49 -08:00 |
|
Eric Rowell
|
f5f2fbaba9
|
added stage getDragLayer() method and unit tests
|
2013-01-12 23:45:28 -08:00 |
|
Eric Rowell
|
5cda46be69
|
drag and drop layer is now created on stage instantiation, and is removed and added as needed
|
2013-01-12 23:39:56 -08:00 |
|
Eric Rowell
|
ed579e4843
|
added new destroy Node method which removes and destroys a node. remove() now simply removes a node from the stage. You can re add the node at a later time with add(). getDOM() changed to getContent(). stage.remove() now correctly removes content node
|
2013-01-12 22:01:12 -08:00 |
|
Eric Rowell
|
4136ddb398
|
added new dragOnTop property which allows you to define whether or not a node is automatically moved to a temp top layer when dragging
|
2013-01-09 23:45:30 -08:00 |
|
Eric Rowell
|
40bcaeafed
|
improved drag and drop layer creation logic to further reduce the possibility of a flicker
|
2013-01-09 23:27:37 -08:00 |
|
Eric Rowell
|
c504e7980b
|
re-fixed drag and drop flicker issue on mobile. It was due to the browser taking a few ms to add to canvas dom when drag and drop started
|
2013-01-09 22:34:14 -08:00 |
|
Eric Rowell
|
48b85119f5
|
reverted async prevParent redraw for drag and drop because it has undesirable side effects. Need to find another solution for the flickering behavior on mobile devices
|
2013-01-09 08:32:05 -08:00 |
|
Arthaey
|
2879dd92d0
|
Support creating shapes with points like [[x1,y1],[x2,y2]].
|
2013-01-09 00:21:47 -08:00 |
|
Eric Rowell
|
b542fbb188
|
finished updating unit tests. All tests now pass
|
2013-01-02 22:08:34 -08:00 |
|