Merge GradientColor into Color.

Work in progress.
This commit is contained in:
Jürg Lehni 2013-04-09 01:21:36 -07:00
parent 380fce3946
commit 5209e97c8d
15 changed files with 154 additions and 51 deletions
examples/Scripts

View file

@ -41,7 +41,7 @@
var gradient = new Gradient(colors, true);
var from = center;
var to = center + vector;
var gradientColor = new GradientColor(gradient, from, to);
var gradientColor = new Color(gradient, from, to);
path.fillColor = path.strokeColor = gradientColor;
}
}