| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface CanvasRenderingContext2D extends CanvasRenderingContext { | 7 interface CanvasRenderingContext2D extends CanvasRenderingContext { |
| 8 | 8 |
| 9 String get font(); | 9 String get font(); |
| 10 | 10 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 void save(); | 123 void save(); |
| 124 | 124 |
| 125 void scale(num sx, num sy); | 125 void scale(num sx, num sy); |
| 126 | 126 |
| 127 void setAlpha(num alpha); | 127 void setAlpha(num alpha); |
| 128 | 128 |
| 129 void setCompositeOperation(String compositeOperation); | 129 void setCompositeOperation(String compositeOperation); |
| 130 | 130 |
| 131 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num
b_OR_y, num a_OR_k, num a]); | 131 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num
b_OR_y, num a_OR_k, num a]); |
| 132 | 132 |
| 133 void setFillStyle(var color_OR_gradient_OR_pattern); | |
| 134 | |
| 135 void setLineCap(String cap); | 133 void setLineCap(String cap); |
| 136 | 134 |
| 137 void setLineJoin(String join); | 135 void setLineJoin(String join); |
| 138 | 136 |
| 139 void setLineWidth(num width); | 137 void setLineWidth(num width); |
| 140 | 138 |
| 141 void setMiterLimit(num limit); | 139 void setMiterLimit(num limit); |
| 142 | 140 |
| 143 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); | 141 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); |
| 144 | 142 |
| 145 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu
m b_OR_y, num a_OR_k, num a]); | 143 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu
m b_OR_y, num a_OR_k, num a]); |
| 146 | 144 |
| 147 void setStrokeStyle(var color_OR_gradient_OR_pattern); | |
| 148 | |
| 149 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); | 145 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 150 | 146 |
| 151 void stroke(); | 147 void stroke(); |
| 152 | 148 |
| 153 void strokeRect(num x, num y, num width, num height, [num lineWidth]); | 149 void strokeRect(num x, num y, num width, num height, [num lineWidth]); |
| 154 | 150 |
| 155 void strokeText(String text, num x, num y, [num maxWidth]); | 151 void strokeText(String text, num x, num y, [num maxWidth]); |
| 156 | 152 |
| 157 void transform(num m11, num m12, num m21, num m22, num dx, num dy); | 153 void transform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 158 | 154 |
| 159 void translate(num tx, num ty); | 155 void translate(num tx, num ty); |
| 160 } | 156 } |
| OLD | NEW |