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

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

Issue 8387057: Forgot generated code for frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
(Empty)
1
2 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" {
3
4 String font;
5
6 num globalAlpha;
7
8 String globalCompositeOperation;
9
10 String lineCap;
11
12 String lineJoin;
13
14 num lineWidth;
15
16 num miterLimit;
17
18 num shadowBlur;
19
20 String shadowColor;
21
22 num shadowOffsetX;
23
24 num shadowOffsetY;
25
26 String textAlign;
27
28 String textBaseline;
29
30 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
31
32 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
33
34 void beginPath() native;
35
36 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
37
38 void clearRect(num x, num y, num width, num height) native;
39
40 void clearShadow() native;
41
42 void clip() native;
43
44 void closePath() native;
45
46 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) native;
47
48 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;
49
50 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) native ;
51
52 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1) native;
53
54 void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, n um dh = null]) native;
55
56 void drawImageFromRect(HTMLImageElement image, [num sx = null, num sy = null, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num d h = null, String compositeOperation = null]) native;
57
58 void fill() native;
59
60 void fillRect(num x, num y, num width, num height) native;
61
62 void fillText(String text, num x, num y, [num maxWidth = null]) native;
63
64 ImageData getImageData(num sx, num sy, num sw, num sh) native;
65
66 bool isPointInPath(num x, num y) native;
67
68 void lineTo(num x, num y) native;
69
70 TextMetrics measureText(String text) native;
71
72 void moveTo(num x, num y) native;
73
74 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX = null, num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) native;
75
76 void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
77
78 void rect(num x, num y, num width, num height) native;
79
80 void restore() native;
81
82 void rotate(num angle) native;
83
84 void save() native;
85
86 void scale(num sx, num sy) native;
87
88 void setAlpha(num alpha) native;
89
90 void setCompositeOperation(String compositeOperation) native;
91
92 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;
93
94 void setFillStyle(var color_OR_gradient_OR_pattern) native;
95
96 void setLineCap(String cap) native;
97
98 void setLineJoin(String join) native;
99
100 void setLineWidth(num width) native;
101
102 void setMiterLimit(num limit) native;
103
104 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;
105
106 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;
107
108 void setStrokeStyle(var color_OR_gradient_OR_pattern) native;
109
110 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
111
112 void stroke() native;
113
114 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
115
116 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
117
118 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
119
120 void translate(num tx, num ty) native;
121 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/CanvasRenderingContext.dart ('k') | client/dom/generated/src/frog/CharacterData.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698