| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 ImplementedAs=CanvasGradient, | 6 ImplementedAs=CanvasGradient, |
| 7 PrivateDart, | 7 PrivateDart, |
| 8 Constructor() | 8 Constructor() |
| 9 ] interface Gradient : Shader { | 9 ] interface Gradient : Shader { |
| 10 void initLinear(Point[] endPoints, Color[] colors, float[] colorStops, | 10 void initLinear(Point[] endPoints, Color[] colors, float[] colorStops, |
| 11 /*TileMode*/unsigned long tileMode); | 11 TileMode tileMode); |
| 12 void initRadial(Point center, double radius, Color[] colors, | 12 void initRadial(Point center, double radius, Color[] colors, |
| 13 float[] colorStops, /*TileMode*/unsigned long tileMode); | 13 float[] colorStops, TileMode tileMode); |
| 14 }; | 14 }; |
| OLD | NEW |