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
|
c9d6820dbf
|
refactored transition logic and added getAttr method
|
2013-03-15 16:19:12 -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 |
|
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
|
b739d6edf7
|
replaced string literals with numbers where appropriate
|
2013-02-15 15:26:59 -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
|
a10f8a716d
|
Merge pull request #237 from pavelpower/patch-2
Create Gauss.js
|
2013-02-14 20:15:03 -08:00 |
|
Eric Rowell
|
d8d17eb6ef
|
fixed up Wedge clockwise logic, and fixed dragOnTop documentation
|
2013-02-12 22:12:25 -08:00 |
|
Eric Rowell
|
66cc6cd98c
|
added support to define pixel ratio with Canvas constructor
|
2013-02-12 10:29:23 -08:00 |
|
Eric Rowell
|
26943f8245
|
implemented new pixel ratio logic, which covers all drawing cases using a canvas context. The new logic also has better performance than the previous
|
2013-02-12 09:58:47 -08:00 |
|
Eric Rowell
|
5e65b4c596
|
refactored pixel ratio scale logic
|
2013-02-12 00:20:24 -08:00 |
|
Eric Rowell
|
5ac8142f82
|
Kinetic.Text events now work property
|
2013-02-11 22:55:24 -08:00 |
|
Eric Rowell
|
5d3180aee5
|
added text metric caching to improve text drawing performance a bit
|
2013-02-10 17:36:47 -08:00 |
|
Eric Rowell
|
c9b99a9131
|
Kinetic.Text code cleanup
|
2013-02-10 15:42:48 -08:00 |
|
Eric Rowell
|
582ed89a02
|
updated docs
|
2013-01-30 10:05:58 -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
|
1775913476
|
mouseup and click events now work correctly after dragging and dropping a shape
|
2013-01-29 10:12:24 -08:00 |
|
Eric Rowell
|
39959eddbd
|
drag and drop dragend event is now fired after drag and drop animation is stopped
|
2013-01-29 09:54:26 -08:00 |
|
Eric Rowell
|
dde4235301
|
added line dash support for firefox and safari
|
2013-01-28 22:38:22 -08:00 |
|
Eric Rowell
|
79fecd2c13
|
dynamic drag layer setup now does deep copy of Groups and Layers when reconstructing ancestors
|
2013-01-28 21:27:08 -08:00 |
|
Eric Rowell
|
1bcdd15f45
|
drag and drop now ends whenever a mouseup or touchend event is detected anywhere on the page
|
2013-01-27 22:25:16 -08:00 |
|
Eric Rowell
|
be295992e0
|
when parent and children are both draggable, the lowest level child draggable property now has priority over ancestors. Refactored dependency order in thorfile
|
2013-01-27 21:29:22 -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
|
b1038e99bf
|
pulled Node config params and Shape config params into a textfile, and now using token replacement to auto fill Node and Shape config params throughout the code base. In this way, if I need to make changes to the Node or Shape configs, those changes are propagated to all of the other constructors
|
2013-01-26 20:42:19 -08:00 |
|
Eric Rowell
|
6a73f4dcfb
|
added enabler / disabler tests for Text. added more documentation
|
2013-01-26 19:35:53 -08:00 |
|
Eric Rowell
|
c2e5f4c1b3
|
refactored stroke and fill logic to eliminate duplicated logic
|
2013-01-24 22:44:00 -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 |
|
Pavel Akhmetchanov
|
7ff82c7384
|
Create Gauss.js
Added Gauss filter
|
2013-01-18 23:17:39 -08:00 |
|
Eric Rowell
|
1502819e9b
|
fixed up Animation docs
|
2013-01-13 22:52:31 -08:00 |
|
Eric Rowell
|
abbaef1cc6
|
refactored drag and drop a bit and fixed a dependency bug
|
2013-01-13 22:32:08 -08:00 |
|
Eric Rowell
|
bc92dc2b6b
|
drag and drop uses a fixed frame rate again
|
2013-01-13 21:52:31 -08:00 |
|
Eric Rowell
|
69b617c0c6
|
drag and drop now works correctly when using dragOnTop mode inside transformed group
|
2013-01-13 20:16:58 -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 |
|