Chromium Code Reviews| 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 Object get fillStyle(); |
|
sra1
2011/11/19 01:06:11
I think 'any' should map to Dynamic.
People are ju
| |
| 10 | 10 |
| 11 void set fillStyle(Dynamic value); | 11 void set fillStyle(Object value); |
| 12 | 12 |
| 13 String get font(); | 13 String get font(); |
| 14 | 14 |
| 15 void set font(String value); | 15 void set font(String value); |
| 16 | 16 |
| 17 num get globalAlpha(); | 17 num get globalAlpha(); |
| 18 | 18 |
| 19 void set globalAlpha(num value); | 19 void set globalAlpha(num value); |
| 20 | 20 |
| 21 String get globalCompositeOperation(); | 21 String get globalCompositeOperation(); |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 47 void set shadowColor(String value); | 47 void set shadowColor(String value); |
| 48 | 48 |
| 49 num get shadowOffsetX(); | 49 num get shadowOffsetX(); |
| 50 | 50 |
| 51 void set shadowOffsetX(num value); | 51 void set shadowOffsetX(num value); |
| 52 | 52 |
| 53 num get shadowOffsetY(); | 53 num get shadowOffsetY(); |
| 54 | 54 |
| 55 void set shadowOffsetY(num value); | 55 void set shadowOffsetY(num value); |
| 56 | 56 |
| 57 Dynamic get strokeStyle(); | 57 Object get strokeStyle(); |
| 58 | 58 |
| 59 void set strokeStyle(Dynamic value); | 59 void set strokeStyle(Object value); |
| 60 | 60 |
| 61 String get textAlign(); | 61 String get textAlign(); |
| 62 | 62 |
| 63 void set textAlign(String value); | 63 void set textAlign(String value); |
| 64 | 64 |
| 65 String get textBaseline(); | 65 String get textBaseline(); |
| 66 | 66 |
| 67 void set textBaseline(String value); | 67 void set textBaseline(String value); |
| 68 | 68 |
| 69 List get webkitLineDash(); | 69 List get webkitLineDash(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 155 void stroke(); | 155 void stroke(); |
| 156 | 156 |
| 157 void strokeRect(num x, num y, num width, num height, [num lineWidth]); | 157 void strokeRect(num x, num y, num width, num height, [num lineWidth]); |
| 158 | 158 |
| 159 void strokeText(String text, num x, num y, [num maxWidth]); | 159 void strokeText(String text, num x, num y, [num maxWidth]); |
| 160 | 160 |
| 161 void transform(num m11, num m12, num m21, num m22, num dx, num dy); | 161 void transform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 162 | 162 |
| 163 void translate(num tx, num ty); | 163 void translate(num tx, num ty); |
| 164 } | 164 } |
| OLD | NEW |