Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: client/dom/generated/src/frog/CanvasRenderingContext2D.dart

Issue 8591026: Roll DOM APIs forward on IDL & update Frog DOM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change window and document to getters Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" { 2 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" {
3 3
4 Dynamic fillStyle;
5
4 String font; 6 String font;
5 7
6 num globalAlpha; 8 num globalAlpha;
7 9
8 String globalCompositeOperation; 10 String globalCompositeOperation;
9 11
10 String lineCap; 12 String lineCap;
11 13
12 String lineJoin; 14 String lineJoin;
13 15
14 num lineWidth; 16 num lineWidth;
15 17
16 num miterLimit; 18 num miterLimit;
17 19
18 num shadowBlur; 20 num shadowBlur;
19 21
20 String shadowColor; 22 String shadowColor;
21 23
22 num shadowOffsetX; 24 num shadowOffsetX;
23 25
24 num shadowOffsetY; 26 num shadowOffsetY;
25 27
28 Dynamic strokeStyle;
29
26 String textAlign; 30 String textAlign;
27 31
28 String textBaseline; 32 String textBaseline;
29 33
30 List webkitLineDash; 34 List webkitLineDash;
31 35
32 num webkitLineDashOffset; 36 num webkitLineDashOffset;
33 37
34 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 38 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
35 39
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void save() native; 92 void save() native;
89 93
90 void scale(num sx, num sy) native; 94 void scale(num sx, num sy) native;
91 95
92 void setAlpha(num alpha) native; 96 void setAlpha(num alpha) native;
93 97
94 void setCompositeOperation(String compositeOperation) native; 98 void setCompositeOperation(String compositeOperation) native;
95 99
96 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul l, num b_OR_y = null, num a_OR_k = null, num a = null]) native; 100 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul l, num b_OR_y = null, num a_OR_k = null, num a = null]) native;
97 101
98 void setFillStyle(var color_OR_gradient_OR_pattern) native;
99
100 void setLineCap(String cap) native; 102 void setLineCap(String cap) native;
101 103
102 void setLineJoin(String join) native; 104 void setLineJoin(String join) native;
103 105
104 void setLineWidth(num width) native; 106 void setLineWidth(num width) native;
105 107
106 void setMiterLimit(num limit) native; 108 void setMiterLimit(num limit) native;
107 109
108 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu m a = null]) native; 110 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu m a = null]) native;
109 111
110 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n ull, num b_OR_y = null, num a_OR_k = null, num a = null]) native; 112 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n ull, num b_OR_y = null, num a_OR_k = null, num a = null]) native;
111 113
112 void setStrokeStyle(var color_OR_gradient_OR_pattern) native;
113
114 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; 114 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
115 115
116 void stroke() native; 116 void stroke() native;
117 117
118 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative; 118 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
119 119
120 void strokeText(String text, num x, num y, [num maxWidth = null]) native; 120 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
121 121
122 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; 122 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
123 123
124 void translate(num tx, num ty) native; 124 void translate(num tx, num ty) native;
125 } 125 }
OLDNEW
« no previous file with comments | « client/dom/generated/monkey_dom_externs.js ('k') | client/dom/generated/src/frog/HTMLSelectElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698