Adjust GradientColor example.

This commit is contained in:
Jonathan Puckey 2011-06-09 23:27:11 +02:00
parent d688faf805
commit 1bca7f4795

View file

@ -156,7 +156,7 @@ var GradientColor = this.GradientColor = Color.extend({
* // and fill it with a radial gradient color:
* var path = new Path.Circle(view.center, view.bounds.height * 0.4);
*
* var gradient = new Gradient(['yellow', 'red', 'blue'], 'radial');
* var gradient = new Gradient(['yellow', 'red', 'black'], 'radial');
* var from = view.center;
* var to = view.bounds.bottomRight;
* var gradientColor = new GradientColor(gradient, from, to);