Jürg Lehni
|
e2a118e43e
|
Make sure color components cannot be anything else than numbers.
|
2013-04-09 17:43:18 -07:00 |
|
Jürg Lehni
|
fbe8a558bd
|
Refactor Format literal to Formatter class that keeps precision stored.
|
2013-04-09 17:32:19 -07:00 |
|
Jürg Lehni
|
8da8f116d1
|
Restructure style related class organization.
|
2013-04-09 17:08:09 -07:00 |
|
Jürg Lehni
|
2d3f9c36eb
|
Update JSDoc and fix documentation issues.
|
2013-04-09 17:07:41 -07:00 |
|
Jürg Lehni
|
b3b0fa649b
|
Minor Style refactoring clean-ups.
|
2013-04-09 16:51:57 -07:00 |
|
Jürg Lehni
|
b4a99415d0
|
Merge PathStyle, CharacterStyle and ParagraphStyle into Style.
Closes #130.
|
2013-04-09 16:46:20 -07:00 |
|
Jürg Lehni
|
a4f36a59a6
|
Minor code simplification.
|
2013-04-09 14:04:25 -07:00 |
|
Jürg Lehni
|
7f3b9aa900
|
Convert Gradient creation to new notation.
|
2013-04-09 09:34:56 -07:00 |
|
Jürg Lehni
|
8feb510ea1
|
Make sure highlight remains an optional component.
|
2013-04-09 09:34:39 -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
|
0d125e1a12
|
Make sure Gradient#stops and #radial are alway set.
|
2013-04-09 09:23:08 -07:00 |
|
Jürg Lehni
|
26efbdb451
|
Implement argument reading for Gradient objects.
|
2013-04-09 09:20:32 -07:00 |
|
Jürg Lehni
|
b9532f6a1a
|
Rename Color#hilite -> Color#highlight.
|
2013-04-09 08:51:14 -07:00 |
|
Jürg Lehni
|
495eef2ee4
|
Fix issue with precision and PathItem#getAverageColor() tests.
|
2013-04-09 08:40:41 -07:00 |
|
Jürg Lehni
|
10c0a44940
|
Make sure _components are always defined before parsers are called.
|
2013-04-09 08:40:09 -07:00 |
|
Jürg Lehni
|
da7b32a18e
|
Clean up code references to GradientColor.
|
2013-04-09 08:36:17 -07:00 |
|
Jürg Lehni
|
bf21e32082
|
Implement calling of _removeOwner() for gradients.
|
2013-04-09 08:36:02 -07:00 |
|
Jürg Lehni
|
9b50020721
|
Check for gradient Colors correctly.
|
2013-04-09 08:35:42 -07:00 |
|
Jürg Lehni
|
5550ecaf25
|
Bring back missing Color constructor documentation.
|
2013-04-09 08:29:39 -07:00 |
|
Jürg Lehni
|
fd0f4f0929
|
Remove GradientColor and move all documentation to Color.
|
2013-04-09 08:23:20 -07:00 |
|
Jürg Lehni
|
a99c91e729
|
Implement Color component parsers.
|
2013-04-09 08:17:57 -07:00 |
|
Jürg Lehni
|
d3bb68d0e0
|
Use faster Array construction.
|
2013-04-09 07:55:09 -07:00 |
|
Jürg Lehni
|
49cf3201f8
|
Clean up GradientColor tests.
|
2013-04-09 01:30:42 -07:00 |
|
Jürg Lehni
|
b3256684fb
|
Make Color#toString() work for gradients.
|
2013-04-09 01:26:51 -07:00 |
|
Jürg Lehni
|
5209e97c8d
|
Merge GradientColor into Color.
Work in progress.
|
2013-04-09 01:21:36 -07:00 |
|
Jürg Lehni
|
380fce3946
|
Simplify GradientColor code before merge with Color.
|
2013-04-08 23:29:15 -07:00 |
|
Jürg Lehni
|
a03363a6d1
|
Define tests for deprecated Color constructors.
|
2013-04-08 20:57:17 -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
|
93437010aa
|
Adjust Raster example to inverted gray value.
|
2013-04-08 20:22:02 -07:00 |
|
Jürg Lehni
|
ca1a395dbd
|
Invert Color#gray component.
|
2013-04-08 20:20:47 -07:00 |
|
Jürg Lehni
|
727db4c5f2
|
Further improve Color constructors.
|
2013-04-08 20:06:29 -07:00 |
|
Jürg Lehni
|
dbec03432d
|
Adjust Path Length tests tolerance so they don't fail.
|
2013-04-08 19:52:09 -07:00 |
|
Jürg Lehni
|
e6fa0085b6
|
Update all tests that depend on old Adobe Illustrator data to either use better data or more tolerance.
|
2013-04-08 19:51:14 -07:00 |
|
Jürg Lehni
|
3ffb2e6a75
|
Refactor Color conversion code.
|
2013-04-08 19:42:17 -07:00 |
|
Jürg Lehni
|
062abab78b
|
More work on Color refactoring.
Improve backward compatible constructors.
|
2013-04-08 13:50:12 -07:00 |
|
Jürg Lehni
|
01673d675d
|
Fix issues with new Color serialization.
|
2013-04-08 13:10:49 -07:00 |
|
Jürg Lehni
|
cf21da75fc
|
Improve Color constructor and simplify serialization.
|
2013-04-08 07:27:48 -07:00 |
|
Jürg Lehni
|
e7c6bf3d9b
|
Fix more Color tests.
|
2013-04-08 07:27:30 -07:00 |
|
Jürg Lehni
|
3a893600ca
|
Handle overlapping HSB / HSL properties and make sure conversions are only performed when needed.
|
2013-04-08 07:12:50 -07:00 |
|
Jürg Lehni
|
8292112ecd
|
More work on Color and testing.
|
2013-04-08 07:07:41 -07:00 |
|
Jürg Lehni
|
0aa6c66681
|
Start refactoring Color tests.
|
2013-04-08 00:19:47 -07:00 |
|
Jürg Lehni
|
a48e6e5bf9
|
More work on Color refactoring.
|
2013-04-08 00:11:43 -07:00 |
|
Jürg Lehni
|
09824e6b91
|
More work on Color refactoring.
|
2013-04-07 23:01:49 -07:00 |
|
Jürg Lehni
|
37566694da
|
Fix Item#type tests.
|
2013-04-07 22:45:30 -07:00 |
|
Jürg Lehni
|
136c028d29
|
Increase performance of Style getters / setters.
|
2013-04-07 17:36:35 -07:00 |
|
Jürg Lehni
|
218732e320
|
Implement a row of simple optimizations to increase performance of Item constructors.
|
2013-04-07 17:36:09 -07:00 |
|
Jürg Lehni
|
232ea221b4
|
First batch of large Color refactoring and simplification.
Work in progress.
|
2013-04-07 10:03:51 -07:00 |
|
Jürg Lehni
|
fa143ad545
|
Fix typo.
|
2013-04-07 09:49:34 -07:00 |
|
Jürg Lehni
|
a0b903e49c
|
Simply call slice() instead of slice(0).
|
2013-04-06 18:39:17 +02:00 |
|
Jürg Lehni
|
4bc3882c82
|
Do not access internal _alpha property.
|
2013-04-06 18:14:45 +02:00 |
|