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

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

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 interface CanvasRenderingContext2D extends CanvasRenderingContext {
8
9 Object get fillStyle();
10
11 void set fillStyle(Object value);
12
13 String get font();
14
15 void set font(String value);
16
17 num get globalAlpha();
18
19 void set globalAlpha(num value);
20
21 String get globalCompositeOperation();
22
23 void set globalCompositeOperation(String value);
24
25 String get lineCap();
26
27 void set lineCap(String value);
28
29 String get lineJoin();
30
31 void set lineJoin(String value);
32
33 num get lineWidth();
34
35 void set lineWidth(num value);
36
37 num get miterLimit();
38
39 void set miterLimit(num value);
40
41 num get shadowBlur();
42
43 void set shadowBlur(num value);
44
45 String get shadowColor();
46
47 void set shadowColor(String value);
48
49 num get shadowOffsetX();
50
51 void set shadowOffsetX(num value);
52
53 num get shadowOffsetY();
54
55 void set shadowOffsetY(num value);
56
57 Object get strokeStyle();
58
59 void set strokeStyle(Object value);
60
61 String get textAlign();
62
63 void set textAlign(String value);
64
65 String get textBaseline();
66
67 void set textBaseline(String value);
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
77 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
78
79 void arcTo(num x1, num y1, num x2, num y2, num radius);
80
81 void beginPath();
82
83 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
84
85 void clearRect(num x, num y, num width, num height);
86
87 void clearShadow();
88
89 void clip();
90
91 void closePath();
92
93 ImageData createImageData(var imagedata_OR_sw, [num sh]);
94
95 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
96
97 CanvasPattern createPattern(var canvas_OR_image, String repetitionType);
98
99 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1);
100
101 void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width , num height_OR_sh, num dx, num dy, num dw, num dh]);
102
103 void drawImageFromRect(ImageElement image, [num sx, num sy, num sw, num sh, nu m dx, num dy, num dw, num dh, String compositeOperation]);
104
105 void fill();
106
107 void fillRect(num x, num y, num width, num height);
108
109 void fillText(String text, num x, num y, [num maxWidth]);
110
111 ImageData getImageData(num sx, num sy, num sw, num sh);
112
113 bool isPointInPath(num x, num y);
114
115 void lineTo(num x, num y);
116
117 TextMetrics measureText(String text);
118
119 void moveTo(num x, num y);
120
121 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY , num dirtyWidth, num dirtyHeight]);
122
123 void quadraticCurveTo(num cpx, num cpy, num x, num y);
124
125 void rect(num x, num y, num width, num height);
126
127 void restore();
128
129 void rotate(num angle);
130
131 void save();
132
133 void scale(num sx, num sy);
134
135 void setAlpha(num alpha);
136
137 void setCompositeOperation(String compositeOperation);
138
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]);
140
141 void setLineCap(String cap);
142
143 void setLineJoin(String join);
144
145 void setLineWidth(num width);
146
147 void setMiterLimit(num limit);
148
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]);
150
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]);
152
153 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
154
155 void stroke();
156
157 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
158
159 void strokeText(String text, num x, num y, [num maxWidth]);
160
161 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
162
163 void translate(num tx, num ty);
164 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698