Jürg Lehni
188c006197
Update to straps.js v3.0.1 and make all functions and accessors enumerable.
2017-04-22 18:50:53 +02:00
Jürg Lehni
bc2729683c
Core: Renamed Symbol and PlacedSymbol classes and properties.
...
- Symbol -> SymbolDefinition
- PlacedSymbol -> SymbolItem
- Symbol#definition -> SymbolDefinition#item
- PlacedSymbol#symbol -> SymbolItem#definition
- Deprecate Project#symbols
Closes #770
2016-01-31 16:52:51 +01:00
Jürg Lehni
6ec34fbb60
Replace Lenna with Marilyn.
2015-05-31 10:50:04 +02:00
Jürg Lehni
27bb8a356f
Implement unique ids, and fix issue with Base.deserialize()
...
Gradient and Symbol were overriding each other in the dictionary, and dictionary entries could not contain references to other dictionary entries.
Closes #690
2015-05-11 19:39:39 +02:00
Jürg Lehni
8ae8855b81
Visually center JSON tiger example.
2015-01-02 14:39:13 +01:00
Jürg Lehni
48cb05a181
Replace tabs with 4 white-spaces.
2014-08-16 19:24:54 +02:00
Jürg Lehni
846c806034
Implement non-scaling strokes through Style#strokeScaling.
...
Closes #418 .
2014-05-13 13:38:51 +02:00
Jürg Lehni
fe064e9cc3
Switch from dist/paper.js to dist/paper-full.js and explain the different versions in the README.
...
Closes #422 .
2014-04-06 13:44:19 +02:00
Jürg Lehni
7278ee4374
Make JSON serialization work for Shapes.
2013-12-09 17:27:41 +01:00
Jürg Lehni
c08fd44101
Add Node JSONtoPDF example.
2013-11-29 12:17:59 +01:00
Jürg Lehni
1f98d72c5b
Switch HiDPI on by default.
...
Allow deactivation by setting the hidpi attribute to "off" on the canvas.
2013-11-06 15:32:08 +01:00
Jürg Lehni
4dcb0d66a9
Update most examples to HiDPI.
2013-11-06 12:53:50 +01:00
Jürg Lehni
df80eb2f23
Define PaperScope#paper as a reference to the local scope.
...
And use it to fix Raster JSON example.
2013-11-01 11:46:31 +01:00
Jürg Lehni
782f5c8f7e
Fix issue with reading selected segment points from JSON when there are no handles.
...
The segment short form was misunderstood by the constructor.
2013-10-18 20:58:06 +02:00
Jürg Lehni
9976033655
Implement serialization of selection.
2013-10-17 12:04:11 +02:00
Jürg Lehni
d8f7799fc4
Update rotates primitives examples.
2013-10-14 19:56:51 +02:00
Jürg Lehni
7f251b78e3
Switch to HTML5 meta charset tags.
2013-06-02 13:41:10 -07:00
Jürg Lehni
cebeb11301
Rename Json acronyms in API to JSON.
2013-04-23 07:13:51 -07:00
Jürg Lehni
9efbc288a1
Merge Path.Rectangle and Path.RoundRectangle.
2013-04-19 12:36:49 -07:00
Jürg Lehni
9d0b9dc4c6
Allow implicit Gradient declaration in Color object literals.
2013-04-09 09:27:46 -07:00
Jürg Lehni
26efbdb451
Implement argument reading for Gradient objects.
2013-04-09 09:20:32 -07:00
Jürg Lehni
5209e97c8d
Merge GradientColor into Color.
...
Work in progress.
2013-04-09 01:21:36 -07:00
Jürg Lehni
9cdc4b9372
Switch back to only one Gradient constructor for both linear and radial Gradients.
2013-04-08 20:52:21 -07:00
Jürg Lehni
5afa1b1688
Allow direct passing of color arguments to gradient constructors as well as arrays.
2013-03-01 17:44:16 -08:00
Jürg Lehni
58fad6ed72
Switch from Gradient#type to separate LinearGradient / RadialGradient classes.
...
But remain backward compatible through direct calls to Gradient constructor.
2013-03-01 17:39:36 -08:00
Jürg Lehni
65a9795a8a
Rename #from/#toJson() to #import/#exportJson() and move them to Project / Item.
...
To reflect naming of #import/#exportSvg().
2013-02-25 16:17:33 -08:00
Jürg Lehni
42274bff4c
Clean up examples HTML.
2013-02-12 15:08:48 -08:00
Jürg Lehni
e477c49d1e
Add a couple of JSON examples.
...
For now just the old SVG ones ported over, but we do need better ones.
2013-02-11 19:23:21 -08:00