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

Side by Side Diff: client/html/generated/src/interface/CanvasRenderingContext2D.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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 Object get fillStyle();
10
11 void set fillStyle(Object 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 Object get strokeStyle();
58
59 void set strokeStyle(Object 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
69 List get webkitLineDash();
70
71 void set webkitLineDash(List value);
72
73 num get webkitLineDashOffset();
74
75 void set webkitLineDashOffset(num value);
76
61 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise); 77 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
62 78
63 void arcTo(num x1, num y1, num x2, num y2, num radius); 79 void arcTo(num x1, num y1, num x2, num y2, num radius);
64 80
65 void beginPath(); 81 void beginPath();
66 82
67 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); 83 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
68 84
69 void clearRect(num x, num y, num width, num height); 85 void clearRect(num x, num y, num width, num height);
70 86
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void save(); 131 void save();
116 132
117 void scale(num sx, num sy); 133 void scale(num sx, num sy);
118 134
119 void setAlpha(num alpha); 135 void setAlpha(num alpha);
120 136
121 void setCompositeOperation(String compositeOperation); 137 void setCompositeOperation(String compositeOperation);
122 138
123 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]);
124 140
125 void setFillStyle(var color_OR_gradient_OR_pattern);
126
127 void setLineCap(String cap); 141 void setLineCap(String cap);
128 142
129 void setLineJoin(String join); 143 void setLineJoin(String join);
130 144
131 void setLineWidth(num width); 145 void setLineWidth(num width);
132 146
133 void setMiterLimit(num limit); 147 void setMiterLimit(num limit);
134 148
135 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]);
136 150
137 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]);
138 152
139 void setStrokeStyle(var color_OR_gradient_OR_pattern);
140
141 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);
142 154
143 void stroke(); 155 void stroke();
144 156
145 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]);
146 158
147 void strokeText(String text, num x, num y, [num maxWidth]); 159 void strokeText(String text, num x, num y, [num maxWidth]);
148 160
149 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);
150 162
151 void translate(num tx, num ty); 163 void translate(num tx, num ty);
152 } 164 }
OLDNEW
« no previous file with comments | « client/html/generated/src/interface/CanvasPixelArray.dart ('k') | client/html/generated/src/interface/ClientRectList.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698