Jürg Lehni
|
8da8f116d1
|
Restructure style related class organization.
|
2013-04-09 17:08:09 -07:00 |
|
Jürg Lehni
|
da7b32a18e
|
Clean up code references to GradientColor.
|
2013-04-09 08:36:17 -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
|
232ea221b4
|
First batch of large Color refactoring and simplification.
Work in progress.
|
2013-04-07 10:03:51 -07:00 |
|
Jonathan Puckey
|
3cdb11fe36
|
GradientStop & PathItem example documentation.
|
2013-03-03 19:47:32 +01: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
|
fdd15e675f
|
Add options argument to #toJson() methods, and use to implement optional fractional digit precision control.
|
2013-02-12 14:57:54 -08:00 |
|
Jürg Lehni
|
366524d0a7
|
Implement JSON serialization for Gradient and GradientColor.
|
2013-02-11 19:22:18 -08:00 |
|
Jürg Lehni
|
6c9c16ad3d
|
Update copyright information comments, and year.
|
2013-01-28 18:03:27 -08:00 |
|
Jürg Lehni
|
05ab8910ea
|
Optimise GradientStop constructor for better minification.
|
2012-12-18 13:49:29 +01:00 |
|
Jonathan Puckey
|
494874ec8f
|
Svg Importer: Fix handling of getDefinition for color values.
|
2012-11-08 14:29:48 +01:00 |
|
Jürg Lehni
|
35568c15f2
|
Implement transparent constant-substitution in prepro.js to shave of some extra bytes of final distribution file.
|
2012-11-05 18:11:44 -08:00 |
|
Jürg Lehni
|
7329f4ef77
|
Improve handling of owner referencing in colors.
Allow one owner per Color only and clone colors when setting color styles. Gradient can still have multiple GradientColor owners. Closes #124.
|
2012-10-10 19:27:14 -07:00 |
|
Jonathan Puckey
|
31b5a0647e
|
Add change tracking to Gradient & GradientStop.
|
2012-03-04 19:14:13 +01:00 |
|
Jürg Lehni
|
42d0e722db
|
Rename RGBColor -> RgbColor, to avoid clash with native constructor, and follow same naming convention for HsbColor and HslColor, but keep references to old names for PaperScript scopes for now.
|
2011-11-10 19:16:34 +01:00 |
|
Jürg Lehni
|
79c0ad8cc5
|
Update copyright notices.
|
2011-07-01 12:17:45 +02:00 |
|
Richard D. Worth
|
ac39873693
|
Whitespace. Removed all trailing whitespace from .js files
|
2011-06-30 06:01:51 -04:00 |
|
Jürg Lehni
|
7cd749e63d
|
Change all documentation to new convention of defining @class outside injection scope, fix some comments and a few errors with examples.
|
2011-06-22 23:56:05 +01:00 |
|
Jürg Lehni
|
3226147e00
|
Use a version of Bootstrap that always produces beans and remove all beans: true instructions.
|
2011-06-17 18:42:29 +01:00 |
|
Jonathan Puckey
|
a880396d26
|
Add example code to GradientColor & GradientStop.
|
2011-06-09 23:21:06 +02:00 |
|
Jonathan Puckey
|
2b8f1b71ec
|
Documentation: use inline code tags for boolean and number values,
|
2011-05-31 14:28:42 +02:00 |
|
Jonathan Puckey
|
1520cad144
|
Documentation: capitalize basic types in @ tags.
|
2011-05-27 21:21:49 +02:00 |
|
Jonathan Puckey
|
8e84c79aa6
|
Documentation: capitalize 'string' and 'number' types.
|
2011-05-27 20:15:15 +02:00 |
|
Jürg Lehni
|
397d3676ed
|
Merge remote-tracking branch 'origin/master'
|
2011-05-26 21:00:05 +01:00 |
|
Jürg Lehni
|
ddf3670952
|
Fix / remove some comments.
|
2011-05-26 12:04:47 +01:00 |
|
Jonathan Puckey
|
020cbbcef5
|
Implement Gradient / GradientColor / GradientStop docs.
|
2011-05-26 00:55:44 +02:00 |
|
Jürg Lehni
|
8a8c68b3d6
|
Define #clone() for various Gradient classes. Needs testing.
|
2011-05-19 22:02:26 +01:00 |
|
Jürg Lehni
|
8eea7e15d4
|
Give GradientStop a proper #initialize() function and use GradientStop.readAll() in Gradient#setStops() with some added magic to automatically assign rampPoints if they were not specified.
|
2011-05-19 20:51:09 +01:00 |
|
Jürg Lehni
|
93d3214a35
|
Fix porting error in GradientStop.
|
2011-05-18 10:04:46 +01:00 |
|
Jürg Lehni
|
57eabed874
|
Simplify GradientStop#equals().
|
2011-05-18 09:40:03 +01:00 |
|
Jürg Lehni
|
8b2709f5d8
|
Replace accidental beans access with direct access of internal property.
|
2011-05-18 09:38:45 +01:00 |
|
Jürg Lehni
|
eb6b838cf4
|
Simplify GradientStop#setRampPoint().
|
2011-05-18 09:38:20 +01:00 |
|
Jonathan Puckey
|
6fa993a2a5
|
Implement equals function for GradientColor, Gradient & GradientStop.
|
2011-05-05 20:28:28 +01:00 |
|
Jürg Lehni
|
dd9340d522
|
Handle all the calls to Base.read() differently, by checking result for null and bailing out if it is.
|
2011-03-08 17:17:36 +00:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
c313e702c9
|
Clean up a whole lot of beans access, and in the process of the refactoring improve canvas, context, size and bounds handling in Raster and PlacedSymbol.
|
2011-03-05 01:26:12 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
484d74160b
|
Set private properties directly in initialize(), no need to call setters.
|
2011-03-03 17:27:56 +00:00 |
|
Jürg Lehni
|
5ed30d7089
|
Make sure all files end on empty line.
|
2011-03-03 16:32:55 +00:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jonathan Puckey
|
10623ddb62
|
Implement Gradient, GradientColor, GradientStop.
|
2011-02-19 22:50:37 +01:00 |
|