| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 /// @domName HTMLCanvasElement |
| 8 interface CanvasElement extends Element default _Elements { |
| 9 |
| 10 CanvasElement([int height, int width]); |
| 11 |
| 12 /** @domName HTMLCanvasElement.height */ |
| 13 int height; |
| 14 |
| 15 /** @domName HTMLCanvasElement.width */ |
| 16 int width; |
| 17 |
| 18 /** @domName HTMLCanvasElement.getContext */ |
| 19 Object getContext(String contextId); |
| 20 |
| 21 /** @domName HTMLCanvasElement.toDataURL */ |
| 22 String toDataURL(String type); |
| 23 } |
| OLD | NEW |