OLD | NEW |
1 | 1 |
2 class HTMLCanvasElementJs extends HTMLElementJs implements HTMLCanvasElement nat
ive "*HTMLCanvasElement" { | 2 class _HTMLCanvasElementJs extends _HTMLElementJs implements HTMLCanvasElement n
ative "*HTMLCanvasElement" { |
3 | 3 |
4 int get height() native "return this.height;"; | 4 int get height() native "return this.height;"; |
5 | 5 |
6 void set height(int value) native "this.height = value;"; | 6 void set height(int value) native "this.height = value;"; |
7 | 7 |
8 int get width() native "return this.width;"; | 8 int get width() native "return this.width;"; |
9 | 9 |
10 void set width(int value) native "this.width = value;"; | 10 void set width(int value) native "this.width = value;"; |
11 | 11 |
12 Object getContext(String contextId) native; | 12 Object getContext(String contextId) native; |
13 | 13 |
14 String toDataURL(String type) native; | 14 String toDataURL(String type) native; |
15 } | 15 } |
OLD | NEW |