| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 void set shadowOffsetY(num value); | 51 void set shadowOffsetY(num value); |
| 52 | 52 |
| 53 String get textAlign(); | 53 String get textAlign(); |
| 54 | 54 |
| 55 void set textAlign(String value); | 55 void set textAlign(String value); |
| 56 | 56 |
| 57 String get textBaseline(); | 57 String get textBaseline(); |
| 58 | 58 |
| 59 void set textBaseline(String value); | 59 void set textBaseline(String value); |
| 60 | 60 |
| 61 num get webkitLineDashOffset(); |
| 62 |
| 63 void set webkitLineDashOffset(num value); |
| 64 |
| 61 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); | 65 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); |
| 62 | 66 |
| 63 void arcTo(num x1, num y1, num x2, num y2, num radius); | 67 void arcTo(num x1, num y1, num x2, num y2, num radius); |
| 64 | 68 |
| 65 void beginPath(); | 69 void beginPath(); |
| 66 | 70 |
| 67 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); | 71 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); |
| 68 | 72 |
| 69 void clearRect(num x, num y, num width, num height); | 73 void clearRect(num x, num y, num width, num height); |
| 70 | 74 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 void stroke(); | 147 void stroke(); |
| 144 | 148 |
| 145 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]); |
| 146 | 150 |
| 147 void strokeText(String text, num x, num y, [num maxWidth]); | 151 void strokeText(String text, num x, num y, [num maxWidth]); |
| 148 | 152 |
| 149 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); |
| 150 | 154 |
| 151 void translate(num tx, num ty); | 155 void translate(num tx, num ty); |
| 152 } | 156 } |
| OLD | NEW |