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

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

Issue 9663027: Remove generated directories with 100s of files. (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) 2012, 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 Dynamic fillStyle;
10
11 String font;
12
13 num globalAlpha;
14
15 String globalCompositeOperation;
16
17 String lineCap;
18
19 String lineJoin;
20
21 num lineWidth;
22
23 num miterLimit;
24
25 num shadowBlur;
26
27 String shadowColor;
28
29 num shadowOffsetX;
30
31 num shadowOffsetY;
32
33 Dynamic strokeStyle;
34
35 String textAlign;
36
37 String textBaseline;
38
39 List webkitLineDash;
40
41 num webkitLineDashOffset;
42
43 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
44
45 void arcTo(num x1, num y1, num x2, num y2, num radius);
46
47 void beginPath();
48
49 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
50
51 void clearRect(num x, num y, num width, num height);
52
53 void clearShadow();
54
55 void clip();
56
57 void closePath();
58
59 ImageData createImageData(var imagedata_OR_sw, [num sh]);
60
61 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
62
63 CanvasPattern createPattern(var canvas_OR_image, String repetitionType);
64
65 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1);
66
67 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw _OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]);
68
69 void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh , num dx, num dy, num dw, num dh, String compositeOperation]);
70
71 void fill();
72
73 void fillRect(num x, num y, num width, num height);
74
75 void fillText(String text, num x, num y, [num maxWidth]);
76
77 ImageData getImageData(num sx, num sy, num sw, num sh);
78
79 bool isPointInPath(num x, num y);
80
81 void lineTo(num x, num y);
82
83 TextMetrics measureText(String text);
84
85 void moveTo(num x, num y);
86
87 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY , num dirtyWidth, num dirtyHeight]);
88
89 void quadraticCurveTo(num cpx, num cpy, num x, num y);
90
91 void rect(num x, num y, num width, num height);
92
93 void restore();
94
95 void rotate(num angle);
96
97 void save();
98
99 void scale(num sx, num sy);
100
101 void setAlpha(num alpha);
102
103 void setCompositeOperation(String compositeOperation);
104
105 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]);
106
107 void setLineCap(String cap);
108
109 void setLineJoin(String join);
110
111 void setLineWidth(num width);
112
113 void setMiterLimit(num limit);
114
115 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]);
116
117 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]);
118
119 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
120
121 void stroke();
122
123 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
124
125 void strokeText(String text, num x, num y, [num maxWidth]);
126
127 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
128
129 void translate(num tx, num ty);
130 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/interface/CanvasRenderingContext.dart ('k') | client/dom/generated/src/interface/CharacterData.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698