| Index: client/html/generated/html/interface/CanvasRenderingContext2D.dart
|
| diff --git a/client/html/generated/html/interface/CanvasRenderingContext2D.dart b/client/html/generated/html/interface/CanvasRenderingContext2D.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bd4ce4005a3d470a3ef7d7ba9218aea4972294fb
|
| --- /dev/null
|
| +++ b/client/html/generated/html/interface/CanvasRenderingContext2D.dart
|
| @@ -0,0 +1,130 @@
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface CanvasRenderingContext2D extends CanvasRenderingContext {
|
| +
|
| + Dynamic fillStyle;
|
| +
|
| + String font;
|
| +
|
| + num globalAlpha;
|
| +
|
| + String globalCompositeOperation;
|
| +
|
| + String lineCap;
|
| +
|
| + String lineJoin;
|
| +
|
| + num lineWidth;
|
| +
|
| + num miterLimit;
|
| +
|
| + num shadowBlur;
|
| +
|
| + String shadowColor;
|
| +
|
| + num shadowOffsetX;
|
| +
|
| + num shadowOffsetY;
|
| +
|
| + Dynamic strokeStyle;
|
| +
|
| + String textAlign;
|
| +
|
| + String textBaseline;
|
| +
|
| + List webkitLineDash;
|
| +
|
| + num webkitLineDashOffset;
|
| +
|
| + void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise);
|
| +
|
| + void arcTo(num x1, num y1, num x2, num y2, num radius);
|
| +
|
| + void beginPath();
|
| +
|
| + void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
|
| +
|
| + void clearRect(num x, num y, num width, num height);
|
| +
|
| + void clearShadow();
|
| +
|
| + void clip();
|
| +
|
| + void closePath();
|
| +
|
| + ImageData createImageData(var imagedata_OR_sw, [num sh]);
|
| +
|
| + CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
|
| +
|
| + CanvasPattern createPattern(var canvas_OR_image, String repetitionType);
|
| +
|
| + CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1);
|
| +
|
| + 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]);
|
| +
|
| + void drawImageFromRect(ImageElement image, [num sx, num sy, num sw, num sh, num dx, num dy, num dw, num dh, String compositeOperation]);
|
| +
|
| + void fill();
|
| +
|
| + void fillRect(num x, num y, num width, num height);
|
| +
|
| + void fillText(String text, num x, num y, [num maxWidth]);
|
| +
|
| + ImageData getImageData(num sx, num sy, num sw, num sh);
|
| +
|
| + bool isPointInPath(num x, num y);
|
| +
|
| + void lineTo(num x, num y);
|
| +
|
| + TextMetrics measureText(String text);
|
| +
|
| + void moveTo(num x, num y);
|
| +
|
| + void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]);
|
| +
|
| + void quadraticCurveTo(num cpx, num cpy, num x, num y);
|
| +
|
| + void rect(num x, num y, num width, num height);
|
| +
|
| + void restore();
|
| +
|
| + void rotate(num angle);
|
| +
|
| + void save();
|
| +
|
| + void scale(num sx, num sy);
|
| +
|
| + void setAlpha(num alpha);
|
| +
|
| + void setCompositeOperation(String compositeOperation);
|
| +
|
| + 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]);
|
| +
|
| + void setLineCap(String cap);
|
| +
|
| + void setLineJoin(String join);
|
| +
|
| + void setLineWidth(num width);
|
| +
|
| + void setMiterLimit(num limit);
|
| +
|
| + void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_OR_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
|
| +
|
| + void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
|
| +
|
| + void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
|
| +
|
| + void stroke();
|
| +
|
| + void strokeRect(num x, num y, num width, num height, [num lineWidth]);
|
| +
|
| + void strokeText(String text, num x, num y, [num maxWidth]);
|
| +
|
| + void transform(num m11, num m12, num m21, num m22, num dx, num dy);
|
| +
|
| + void translate(num tx, num ty);
|
| +}
|
|
|