| 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 Dynamic get fillStyle(); | 9 Dynamic fillStyle; |
| 10 | 10 |
| 11 void set fillStyle(Dynamic value); | 11 String font; |
| 12 | 12 |
| 13 String get font(); | 13 num globalAlpha; |
| 14 | 14 |
| 15 void set font(String value); | 15 String globalCompositeOperation; |
| 16 | 16 |
| 17 num get globalAlpha(); | 17 String lineCap; |
| 18 | 18 |
| 19 void set globalAlpha(num value); | 19 String lineJoin; |
| 20 | 20 |
| 21 String get globalCompositeOperation(); | 21 num lineWidth; |
| 22 | 22 |
| 23 void set globalCompositeOperation(String value); | 23 num miterLimit; |
| 24 | 24 |
| 25 String get lineCap(); | 25 num shadowBlur; |
| 26 | 26 |
| 27 void set lineCap(String value); | 27 String shadowColor; |
| 28 | 28 |
| 29 String get lineJoin(); | 29 num shadowOffsetX; |
| 30 | 30 |
| 31 void set lineJoin(String value); | 31 num shadowOffsetY; |
| 32 | 32 |
| 33 num get lineWidth(); | 33 Dynamic strokeStyle; |
| 34 | 34 |
| 35 void set lineWidth(num value); | 35 String textAlign; |
| 36 | 36 |
| 37 num get miterLimit(); | 37 String textBaseline; |
| 38 | 38 |
| 39 void set miterLimit(num value); | 39 List webkitLineDash; |
| 40 | 40 |
| 41 num get shadowBlur(); | 41 num webkitLineDashOffset; |
| 42 | |
| 43 void set shadowBlur(num value); | |
| 44 | |
| 45 String get shadowColor(); | |
| 46 | |
| 47 void set shadowColor(String value); | |
| 48 | |
| 49 num get shadowOffsetX(); | |
| 50 | |
| 51 void set shadowOffsetX(num value); | |
| 52 | |
| 53 num get shadowOffsetY(); | |
| 54 | |
| 55 void set shadowOffsetY(num value); | |
| 56 | |
| 57 Dynamic get strokeStyle(); | |
| 58 | |
| 59 void set strokeStyle(Dynamic value); | |
| 60 | |
| 61 String get textAlign(); | |
| 62 | |
| 63 void set textAlign(String value); | |
| 64 | |
| 65 String get textBaseline(); | |
| 66 | |
| 67 void set textBaseline(String value); | |
| 68 | |
| 69 List get webkitLineDash(); | |
| 70 | |
| 71 void set webkitLineDash(List value); | |
| 72 | |
| 73 num get webkitLineDashOffset(); | |
| 74 | |
| 75 void set webkitLineDashOffset(num value); | |
| 76 | 42 |
| 77 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); | 43 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); |
| 78 | 44 |
| 79 void arcTo(num x1, num y1, num x2, num y2, num radius); | 45 void arcTo(num x1, num y1, num x2, num y2, num radius); |
| 80 | 46 |
| 81 void beginPath(); | 47 void beginPath(); |
| 82 | 48 |
| 83 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); | 49 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); |
| 84 | 50 |
| 85 void clearRect(num x, num y, num width, num height); | 51 void clearRect(num x, num y, num width, num height); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 void stroke(); | 121 void stroke(); |
| 156 | 122 |
| 157 void strokeRect(num x, num y, num width, num height, [num lineWidth]); | 123 void strokeRect(num x, num y, num width, num height, [num lineWidth]); |
| 158 | 124 |
| 159 void strokeText(String text, num x, num y, [num maxWidth]); | 125 void strokeText(String text, num x, num y, [num maxWidth]); |
| 160 | 126 |
| 161 void transform(num m11, num m12, num m21, num m22, num dx, num dy); | 127 void transform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 162 | 128 |
| 163 void translate(num tx, num ty); | 129 void translate(num tx, num ty); |
| 164 } | 130 } |
| OLD | NEW |