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
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
48cb05a181
Replace tabs with 4 white-spaces.
2014-08-16 19:24:54 +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
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
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