Jonathan Puckey
|
acb6e850a0
|
Use toCssString() in Color#getCanvasStyle.
|
2011-03-04 18:14:24 +01:00 |
|
Jonathan Puckey
|
ff5ee13ba0
|
Fix Color#getCanvasStyle.
|
2011-03-04 17:54:36 +01: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
|
c6d79f964c
|
Generalise all read() functions in Base.read(), fix an issue in by making sure arguments passed to initialie are never larger than length, and have Color's initialize create an RGBColor, to still be able to use Color.read().
|
2011-03-04 13:19:07 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
cbe29fd02b
|
Rename Color#getCssString() to #toCssString(), to go with #toString().
|
2011-03-03 17:36:53 +00:00 |
|
Jürg Lehni
|
2f63a65ded
|
Clean up code.
|
2011-03-03 17:35:59 +00:00 |
|
Jürg Lehni
|
46a0589547
|
Use Error constructor correctly.
|
2011-03-03 17:29:40 +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
|
0efc23b25c
|
Remove 2nd redundant definition of Gradient#getStops().
|
2011-03-03 17:26:30 +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 |
|
Jürg Lehni
|
3a46ac3b54
|
Allow read() methods to receive an optional length parameter.
|
2011-03-03 13:15:55 +00:00 |
|
Jonathan Puckey
|
73df06150a
|
Fix RGBColor#setGray.
|
2011-02-24 12:58:16 +01:00 |
|
Jonathan Puckey
|
357a8af6ec
|
Clean up white spaces.
|
2011-02-21 03:32:39 +01:00 |
|
Jonathan Puckey
|
14943f428f
|
Remove logging statement.
|
2011-02-21 00:27:02 +01:00 |
|
Jonathan Puckey
|
0458e3d916
|
Check for null in Color#read.
|
2011-02-21 00:25:45 +01:00 |
|
Jürg Lehni
|
ed752ed744
|
Pass ctor.dont to all constructor calls that are followed with explicit initialize() calls afterwards, to make sure it is only called once.
|
2011-02-20 01:45:53 +01:00 |
|
Jonathan Puckey
|
c0a93a8b66
|
Setters already handle point conversion.
|
2011-02-19 22:52:00 +01:00 |
|
Jonathan Puckey
|
10623ddb62
|
Implement Gradient, GradientColor, GradientStop.
|
2011-02-19 22:50:37 +01:00 |
|
Jonathan Puckey
|
57b7b364bc
|
Nullify cssString cache when color/alpha values change.
|
2011-02-19 18:01:08 +01:00 |
|
Jonathan Puckey
|
c386f38b86
|
GrayColor: fix comment.
|
2011-02-19 17:22:20 +01:00 |
|
Jonathan Puckey
|
068c4dc1ca
|
Add missing Color.js.
|
2011-02-19 17:10:26 +01:00 |
|
Jonathan Puckey
|
b944b82abe
|
GrayColor: fix comments.
|
2011-02-19 17:08:08 +01:00 |
|
Jonathan Puckey
|
66105dd4ac
|
Implement Color, RGBColor & GrayColor.
|
2011-02-19 17:05:39 +01:00 |
|