Jürg Lehni
|
be5a73a61d
|
SVG: Implement support for Shape.
|
2013-10-16 16:47:00 +02:00 |
|
Jürg Lehni
|
8ab6c61b0d
|
Rename Shape#type to Shape#shape, to avoid clash with Item#type.
|
2013-10-16 16:46:22 +02:00 |
|
Jürg Lehni
|
b581c84d8b
|
Move CompoundPath#reduce() to Item#reduce().
|
2013-10-16 16:10:28 +02:00 |
|
Jürg Lehni
|
9eb1c104da
|
Implement Shape#clone()
|
2013-10-16 15:04:50 +02:00 |
|
Jürg Lehni
|
b35296ef3e
|
Improve Shape.Ellipse to support center & radius parameters, and update documentation.
|
2013-10-16 15:04:37 +02:00 |
|
Jürg Lehni
|
c945bf7908
|
Docs: Various smaller clean ups.
|
2013-10-16 14:20:13 +02:00 |
|
Jürg Lehni
|
2263afea59
|
Start implementing rounded rectangles in Shape.Rectangle.
|
2013-10-14 19:57:28 +02:00 |
|
Jürg Lehni
|
a3d0e0d462
|
Clean up throw statements.
Never throw plain strings.
|
2013-10-14 16:05:50 +02:00 |
|
Jürg Lehni
|
b9ba2364fe
|
Move Shape#isEmpty() to right place.
|
2013-10-14 09:15:34 +02:00 |
|
Jürg Lehni
|
198305b75c
|
Remove doc comment since Item#isEmpty() is already documented, and move it to an inline comment.
|
2013-10-14 09:14:59 +02:00 |
|
Oliver Jones
|
df7f1fe874
|
Override default isEmpty method for Shape
Fixes (new Group([new Shape.Rectangle(...)])).bounds throwing ReferenceError when using Item's isEmpty
|
2013-10-12 19:28:45 +01:00 |
|
Jürg Lehni
|
c68a7d33da
|
Switch from options.browser and options.node to options.environment
|
2013-10-10 23:09:00 +02:00 |
|
Jürg Lehni
|
24e46bee60
|
Merge branch 'refs/heads/boolean-fix'
|
2013-10-08 20:50:47 +02:00 |
|
Jürg Lehni
|
367aa8ea28
|
Do not allow numeric values for Item#name.
Closes #298.
|
2013-10-08 20:38:16 +02:00 |
|
Jürg Lehni
|
921a68e4a2
|
Rename _removeFromNamed to _removeNamed.
|
2013-10-08 20:25:26 +02:00 |
|
Jürg Lehni
|
5f8c00fe8d
|
Start implementing Item#globalToLocal() and #localToGlobal()
|
2013-09-22 18:04:27 -07:00 |
|
Jürg Lehni
|
19c7788617
|
Fix documentation irregularities.
|
2013-08-23 19:45:28 -07:00 |
|
Jürg Lehni
|
40f2547e5f
|
Correctly detect image size on all browsers.
Closes #268.
|
2013-08-15 11:32:47 -07:00 |
|
Jürg Lehni
|
590c89840c
|
Merge Raster#setImage() and #setCanvas().
|
2013-08-14 12:29:56 -07:00 |
|
Jürg Lehni
|
cc565b3fe2
|
Rename Raster#getSubImage() to #getSubCanvas(), and use insert: false combined with #insertAbove() to correctly insert newly created rasters.
|
2013-08-14 12:21:47 -07:00 |
|
Jürg Lehni
|
5981ddf89f
|
Implement Raster#getSubRaster() and document both #getSubImage() and #getSubRaster().
|
2013-08-14 12:14:28 -07:00 |
|
Jürg Lehni
|
1a1c2674fd
|
Take Item#matrix into account when drawing gradients.
Closes #267.
|
2013-08-14 11:27:04 -07:00 |
|
Jürg Lehni
|
46f6261d38
|
Merge pull request #265 from duckmaestro/master
Fix to #263: _children undefined inside call to myShape.isEmpty().
|
2013-08-08 17:24:10 -07:00 |
|
Jürg Lehni
|
6b19f25f4b
|
Fix typos in comments.
|
2013-08-08 15:21:35 -07:00 |
|
Clifford Champion
|
2d3200c8d7
|
Fix to #263: _children undefined inside call to myShape.isEmpty().
|
2013-07-27 23:47:49 -07:00 |
|
Jürg Lehni
|
5e8ec2066b
|
Clean up comment.
|
2013-07-21 16:52:18 -07:00 |
|
Jürg Lehni
|
16735e23af
|
Simplify code for #insertAbove/Below(), by introducing a private helper.
Making overriding in Layer simpler.
|
2013-07-21 16:41:45 -07:00 |
|
Jürg Lehni
|
5e210c583a
|
Switch to returning items instead of booleans in #insertAbove/Below() and adjust documentation accordingly.
|
2013-07-21 16:29:13 -07:00 |
|
Jürg Lehni
|
edfb3a51ab
|
Improve documentation of insertion methods.
|
2013-07-21 16:26:16 -07:00 |
|
Jürg Lehni
|
e68563af53
|
Have #insertAbove/Below() return a boolean.
|
2013-07-21 16:26:03 -07:00 |
|
Jürg Lehni
|
e0809d26f2
|
Merge code for Item#insertAbove() / #insertBelow() and fix issue with wrong indices.
The previous code was faulty when item was not already in the children list.
|
2013-07-21 16:22:16 -07:00 |
|
Jürg Lehni
|
949752556b
|
Fix avoiding of name clashes in cloning.
|
2013-07-21 15:54:03 -07:00 |
|
Jürg Lehni
|
aa4d990c90
|
Move and unify handling of Item#_set(props) to new Item#_initialize(), and add support for props.insert = false.
|
2013-07-21 15:45:22 -07:00 |
|
Jürg Lehni
|
5e2654b490
|
Allow Item#_changed() to function before #_project is set.
|
2013-07-21 15:44:18 -07:00 |
|
Jürg Lehni
|
b7aea1e527
|
Use insert: false option in creation of all clones.
Still needs implementing in Item constructor.
|
2013-07-19 18:42:13 -07:00 |
|
Jürg Lehni
|
20a17f2939
|
Implement insert parameter in Item#clone() to control DOM insertion.
Defaults to true. Also insert in the right place now, above the original.
|
2013-07-19 18:27:00 -07:00 |
|
Jürg Lehni
|
588abe7189
|
Only test for fill in Item#_hitTest() if options.fill is set.
|
2013-07-19 17:55:31 -07:00 |
|
Jürg Lehni
|
f466473bfb
|
Add support for shadows.
Closes #36.
|
2013-07-19 17:48:29 -07:00 |
|
Jürg Lehni
|
94c192495a
|
Add support for canvas compositing modes to Item#blendMode.
Closes #159.
|
2013-07-19 15:23:16 -07:00 |
|
Jürg Lehni
|
175091a69f
|
Allow combinations of blendMode and opacity.
Closes #259.
|
2013-07-19 11:46:13 -07:00 |
|
Jürg Lehni
|
47768779b7
|
Fix blurriness in Item#rasterize().
Closes #258.
|
2013-07-18 20:06:22 -07:00 |
|
Jürg Lehni
|
affb44e0dd
|
Prevent double execution of onLoad event on Raster.
|
2013-07-03 19:02:29 -07:00 |
|
Jürg Lehni
|
e87307af41
|
Fix issue with Image.onLoad() events.
naturalWidth/Height seems unreliable.
|
2013-07-03 18:49:05 -07:00 |
|
Jürg Lehni
|
fdfb7abe58
|
Update exportSVG() documentation.
|
2013-06-27 18:14:51 -07:00 |
|
Jürg Lehni
|
09f04a597f
|
Write documentation for Shape constructors.
|
2013-06-27 18:04:02 -07:00 |
|
Jürg Lehni
|
41746d2d25
|
Docs: Write documentation for #import/export JSON/SVG, for both Item and Project.
|
2013-06-27 18:03:49 -07:00 |
|
Jürg Lehni
|
0c9914285f
|
Return Raster#size as a LinkedSize.
|
2013-06-27 16:06:11 -07:00 |
|
Jürg Lehni
|
9311b38894
|
Define Shape#size and #radius.
|
2013-06-27 16:05:44 -07:00 |
|
Jürg Lehni
|
3d5ae373a8
|
Remove static create() methods from LinkedPoint/Size/Rectangle, and give them initialize() methods instead that also name the classes in debugging.
|
2013-06-25 09:41:55 -07:00 |
|
Jürg Lehni
|
1866e4ff15
|
Remove need for all special arguments in minification, and restructure code to avoid warnings.
|
2013-06-24 10:15:54 -07:00 |
|