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

Side by Side Diff: client/dom/generated/src/interface/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 // 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();
10
11 void set fillStyle(Dynamic value);
12
9 String get font(); 13 String get font();
10 14
11 void set font(String value); 15 void set font(String value);
12 16
13 num get globalAlpha(); 17 num get globalAlpha();
14 18
15 void set globalAlpha(num value); 19 void set globalAlpha(num value);
16 20
17 String get globalCompositeOperation(); 21 String get globalCompositeOperation();
18 22
(...skipping 24 matching lines...) Expand all
43 void set shadowColor(String value); 47 void set shadowColor(String value);
44 48
45 num get shadowOffsetX(); 49 num get shadowOffsetX();
46 50
47 void set shadowOffsetX(num value); 51 void set shadowOffsetX(num value);
48 52
49 num get shadowOffsetY(); 53 num get shadowOffsetY();
50 54
51 void set shadowOffsetY(num value); 55 void set shadowOffsetY(num value);
52 56
57 Dynamic get strokeStyle();
58
59 void set strokeStyle(Dynamic value);
60
53 String get textAlign(); 61 String get textAlign();
54 62
55 void set textAlign(String value); 63 void set textAlign(String value);
56 64
57 String get textBaseline(); 65 String get textBaseline();
58 66
59 void set textBaseline(String value); 67 void set textBaseline(String value);
60 68
61 List get webkitLineDash(); 69 List get webkitLineDash();
62 70
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void save(); 131 void save();
124 132
125 void scale(num sx, num sy); 133 void scale(num sx, num sy);
126 134
127 void setAlpha(num alpha); 135 void setAlpha(num alpha);
128 136
129 void setCompositeOperation(String compositeOperation); 137 void setCompositeOperation(String compositeOperation);
130 138
131 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); 139 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
132 140
133 void setFillStyle(var color_OR_gradient_OR_pattern);
134
135 void setLineCap(String cap); 141 void setLineCap(String cap);
136 142
137 void setLineJoin(String join); 143 void setLineJoin(String join);
138 144
139 void setLineWidth(num width); 145 void setLineWidth(num width);
140 146
141 void setMiterLimit(num limit); 147 void setMiterLimit(num limit);
142 148
143 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); 149 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
144 150
145 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu m b_OR_y, num a_OR_k, num a]); 151 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu m b_OR_y, num a_OR_k, num a]);
146 152
147 void setStrokeStyle(var color_OR_gradient_OR_pattern);
148
149 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); 153 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
150 154
151 void stroke(); 155 void stroke();
152 156
153 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]);
154 158
155 void strokeText(String text, num x, num y, [num maxWidth]); 159 void strokeText(String text, num x, num y, [num maxWidth]);
156 160
157 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);
158 162
159 void translate(num tx, num ty); 163 void translate(num tx, num ty);
160 } 164 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/HTMLSelectElement.dart ('k') | client/dom/generated/src/interface/HTMLSelectElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698