2012-06-13 08:14:15 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://www.whatwg.org/specs/web-apps/current-work/
|
|
|
|
*
|
|
|
|
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
|
|
|
|
* Opera Software ASA. You are granted a license to use, reproduce
|
|
|
|
* and create derivative works of this document.
|
|
|
|
*/
|
|
|
|
|
2013-01-16 18:55:43 -08:00
|
|
|
enum CanvasWindingRule { "nonzero", "evenodd" };
|
|
|
|
|
2013-12-20 13:50:48 -08:00
|
|
|
dictionary ContextAttributes2D {
|
|
|
|
// whether or not we're planning to do a lot of readback operations
|
|
|
|
boolean willReadFrequently = false;
|
2014-03-16 12:34:14 -07:00
|
|
|
// signal if the canvas contains an alpha channel
|
|
|
|
boolean alpha = true;
|
2013-12-20 13:50:48 -08:00
|
|
|
};
|
|
|
|
|
2014-02-21 05:35:14 -08:00
|
|
|
dictionary HitRegionOptions {
|
|
|
|
DOMString id = "";
|
|
|
|
Element? control = null;
|
|
|
|
};
|
|
|
|
|
2012-06-13 08:14:15 -07:00
|
|
|
interface CanvasRenderingContext2D {
|
|
|
|
|
2012-09-11 12:08:24 -07:00
|
|
|
// back-reference to the canvas. Might be null if we're not
|
|
|
|
// associated with a canvas.
|
|
|
|
readonly attribute HTMLCanvasElement? canvas;
|
2012-06-13 08:14:15 -07:00
|
|
|
|
|
|
|
// state
|
|
|
|
void save(); // push state on state stack
|
|
|
|
void restore(); // pop state stack and restore state
|
|
|
|
|
|
|
|
// transformations (default transform is the identity matrix)
|
|
|
|
// NOT IMPLEMENTED attribute SVGMatrix currentTransform;
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void scale(double x, double y);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void rotate(double angle);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void translate(double x, double y);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void transform(double a, double b, double c, double d, double e, double f);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void setTransform(double a, double b, double c, double d, double e, double f);
|
|
|
|
// NOT IMPLEMENTED void resetTransform();
|
|
|
|
|
|
|
|
// compositing
|
2012-11-27 12:32:05 -08:00
|
|
|
attribute unrestricted double globalAlpha; // (default 1.0)
|
2012-09-05 06:21:33 -07:00
|
|
|
[Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute DOMString globalCompositeOperation; // (default source-over)
|
|
|
|
|
|
|
|
// colors and styles (see also the CanvasDrawingStyles interface)
|
2013-07-26 11:25:54 -07:00
|
|
|
attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (default black)
|
|
|
|
attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (default black)
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject]
|
2012-06-13 08:14:15 -07:00
|
|
|
CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1);
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject, Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1);
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject, Throws]
|
2012-08-28 10:10:10 -07:00
|
|
|
CanvasPattern createPattern((HTMLImageElement or HTMLCanvasElement or HTMLVideoElement) image, [TreatNullAs=EmptyString] DOMString repetition);
|
2012-06-13 08:14:15 -07:00
|
|
|
|
|
|
|
// shadows
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute double shadowOffsetX; // (default 0)
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute double shadowOffsetY; // (default 0)
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute double shadowBlur; // (default 0)
|
|
|
|
attribute DOMString shadowColor; // (default transparent black)
|
|
|
|
|
|
|
|
// rects
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void clearRect(double x, double y, double w, double h);
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void fillRect(double x, double y, double w, double h);
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void strokeRect(double x, double y, double w, double h);
|
|
|
|
|
|
|
|
// path API (see also CanvasPathMethods)
|
|
|
|
void beginPath();
|
2013-10-11 09:28:24 -07:00
|
|
|
void fill(optional CanvasWindingRule winding = "nonzero");
|
2014-03-18 05:03:06 -07:00
|
|
|
void fill(Path2D path, optional CanvasWindingRule winding = "nonzero");
|
2012-06-13 08:14:15 -07:00
|
|
|
void stroke();
|
2014-03-18 05:03:06 -07:00
|
|
|
void stroke(Path2D path);
|
2014-01-15 06:50:31 -08:00
|
|
|
[Pref="canvas.focusring.enabled"] void drawFocusIfNeeded(Element element);
|
2013-11-04 11:52:24 -08:00
|
|
|
// NOT IMPLEMENTED void drawSystemFocusRing(Path path, HTMLElement element);
|
2014-01-16 05:27:03 -08:00
|
|
|
[Pref="canvas.customfocusring.enabled"] boolean drawCustomFocusRing(Element element);
|
2013-11-04 11:52:24 -08:00
|
|
|
// NOT IMPLEMENTED boolean drawCustomFocusRing(Path path, HTMLElement element);
|
2012-06-13 08:14:15 -07:00
|
|
|
// NOT IMPLEMENTED void scrollPathIntoView();
|
|
|
|
// NOT IMPLEMENTED void scrollPathIntoView(Path path);
|
2013-10-11 09:28:24 -07:00
|
|
|
void clip(optional CanvasWindingRule winding = "nonzero");
|
2014-03-18 05:03:06 -07:00
|
|
|
void clip(Path2D path, optional CanvasWindingRule winding = "nonzero");
|
2012-06-13 08:14:15 -07:00
|
|
|
// NOT IMPLEMENTED void resetClip();
|
2013-10-11 09:28:24 -07:00
|
|
|
boolean isPointInPath(unrestricted double x, unrestricted double y, optional CanvasWindingRule winding = "nonzero");
|
2014-03-19 10:42:38 -07:00
|
|
|
boolean isPointInPath(Path2D path, unrestricted double x, unrestricted double y, optional CanvasWindingRule winding = "nonzero");
|
2012-11-22 05:37:42 -08:00
|
|
|
boolean isPointInStroke(double x, double y);
|
2014-03-19 10:42:38 -07:00
|
|
|
boolean isPointInStroke(Path2D path, unrestricted double x, unrestricted double y);
|
2012-06-13 08:14:15 -07:00
|
|
|
|
|
|
|
// text (see also the CanvasDrawingStyles interface)
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void fillText(DOMString text, double x, double y, optional double maxWidth);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void strokeText(DOMString text, double x, double y, optional double maxWidth);
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject, Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
TextMetrics measureText(DOMString text);
|
|
|
|
|
|
|
|
// drawing images
|
|
|
|
// NOT IMPLEMENTED attribute boolean imageSmoothingEnabled; // (default true)
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void drawImage((HTMLImageElement or HTMLCanvasElement or HTMLVideoElement) image, double dx, double dy);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void drawImage((HTMLImageElement or HTMLCanvasElement or HTMLVideoElement) image, double dx, double dy, double dw, double dh);
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void drawImage((HTMLImageElement or HTMLCanvasElement or HTMLVideoElement) image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
|
|
|
|
|
|
|
|
// hit regions
|
2014-02-21 05:35:36 -08:00
|
|
|
[Pref="canvas.hitregions.enabled", Throws] void addHitRegion(optional HitRegionOptions options);
|
2014-02-21 05:35:14 -08:00
|
|
|
[Pref="canvas.hitregions.enabled"] void removeHitRegion(DOMString id);
|
2012-06-13 08:14:15 -07:00
|
|
|
|
|
|
|
// pixel manipulation
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject, Throws]
|
2012-09-05 06:21:33 -07:00
|
|
|
ImageData createImageData(double sw, double sh);
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject, Throws]
|
2012-09-05 06:21:33 -07:00
|
|
|
ImageData createImageData(ImageData imagedata);
|
2013-09-30 09:32:22 -07:00
|
|
|
[NewObject, Throws]
|
2012-09-05 06:21:33 -07:00
|
|
|
ImageData getImageData(double sx, double sy, double sw, double sh);
|
|
|
|
[Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
void putImageData(ImageData imagedata, double dx, double dy);
|
2012-09-05 06:21:33 -07:00
|
|
|
[Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
void putImageData(ImageData imagedata, double dx, double dy, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight);
|
|
|
|
|
|
|
|
// Mozilla-specific stuff
|
|
|
|
// FIXME Bug 768048 mozCurrentTransform/mozCurrentTransformInverse should return a WebIDL array.
|
2012-09-05 06:21:33 -07:00
|
|
|
[Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute object mozCurrentTransform; // [ m11, m12, m21, m22, dx, dy ], i.e. row major
|
2012-09-05 06:21:33 -07:00
|
|
|
[Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute object mozCurrentTransformInverse;
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute DOMString mozFillRule; /* "evenodd", "nonzero" (default) */
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-09-05 06:21:33 -07:00
|
|
|
[Throws]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute any mozDash; /* default |null| */
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute double mozDashOffset; /* default 0.0 */
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-09-05 06:21:33 -07:00
|
|
|
[SetterThrows]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute DOMString mozTextStyle;
|
|
|
|
|
|
|
|
// image smoothing mode -- if disabled, images won't be smoothed
|
|
|
|
// if scaled.
|
|
|
|
attribute boolean mozImageSmoothingEnabled;
|
|
|
|
|
|
|
|
// Show the caret if appropriate when drawing
|
2012-09-06 22:29:47 -07:00
|
|
|
[ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
const unsigned long DRAWWINDOW_DRAW_CARET = 0x01;
|
|
|
|
// Don't flush pending layout notifications that could otherwise
|
|
|
|
// be batched up
|
2012-09-06 22:29:47 -07:00
|
|
|
[ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
const unsigned long DRAWWINDOW_DO_NOT_FLUSH = 0x02;
|
|
|
|
// Draw scrollbars and scroll the viewport if they are present
|
2012-09-06 22:29:47 -07:00
|
|
|
[ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
const unsigned long DRAWWINDOW_DRAW_VIEW = 0x04;
|
|
|
|
// Use the widget layer manager if available. This means hardware
|
|
|
|
// acceleration may be used, but it might actually be slower or
|
|
|
|
// lower quality than normal. It will however more accurately reflect
|
|
|
|
// the pixels rendered to the screen.
|
2012-09-06 22:29:47 -07:00
|
|
|
[ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
const unsigned long DRAWWINDOW_USE_WIDGET_LAYERS = 0x08;
|
|
|
|
// Don't synchronously decode images - draw what we have
|
2012-09-06 22:29:47 -07:00
|
|
|
[ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
const unsigned long DRAWWINDOW_ASYNC_DECODE_IMAGES = 0x10;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Renders a region of a window into the canvas. The contents of
|
|
|
|
* the window's viewport are rendered, ignoring viewport clipping
|
|
|
|
* and scrolling.
|
|
|
|
*
|
|
|
|
* @param x
|
|
|
|
* @param y
|
|
|
|
* @param w
|
|
|
|
* @param h specify the area of the window to render, in CSS
|
|
|
|
* pixels.
|
|
|
|
*
|
|
|
|
* @param backgroundColor the canvas is filled with this color
|
|
|
|
* before we render the window into it. This color may be
|
|
|
|
* transparent/translucent. It is given as a CSS color string
|
|
|
|
* (e.g., rgb() or rgba()).
|
|
|
|
*
|
|
|
|
* @param flags Used to better control the drawWindow call.
|
|
|
|
* Flags can be ORed together.
|
|
|
|
*
|
|
|
|
* Of course, the rendering obeys the current scale, transform and
|
|
|
|
* globalAlpha values.
|
|
|
|
*
|
|
|
|
* Hints:
|
|
|
|
* -- If 'rgba(0,0,0,0)' is used for the background color, the
|
|
|
|
* drawing will be transparent wherever the window is transparent.
|
|
|
|
* -- Top-level browsed documents are usually not transparent
|
|
|
|
* because the user's background-color preference is applied,
|
|
|
|
* but IFRAMEs are transparent if the page doesn't set a background.
|
|
|
|
* -- If an opaque color is used for the background color, rendering
|
|
|
|
* will be faster because we won't have to compute the window's
|
|
|
|
* transparency.
|
|
|
|
*
|
|
|
|
* This API cannot currently be used by Web content. It is chrome
|
|
|
|
* only.
|
|
|
|
*/
|
2012-09-06 22:29:47 -07:00
|
|
|
[Throws, ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
void drawWindow(Window window, double x, double y, double w, double h,
|
|
|
|
DOMString bgColor, optional unsigned long flags = 0);
|
2012-09-06 22:29:47 -07:00
|
|
|
[Throws, ChromeOnly]
|
2012-06-13 08:14:15 -07:00
|
|
|
void asyncDrawXULElement(XULElement elem, double x, double y, double w,
|
|
|
|
double h, DOMString bgColor,
|
|
|
|
optional unsigned long flags = 0);
|
2013-08-23 06:52:32 -07:00
|
|
|
/**
|
|
|
|
* This causes a context that is currently using a hardware-accelerated
|
|
|
|
* backend to fallback to a software one. All state should be preserved.
|
|
|
|
*/
|
|
|
|
[ChromeOnly]
|
|
|
|
void demote();
|
2012-06-13 08:14:15 -07:00
|
|
|
};
|
|
|
|
CanvasRenderingContext2D implements CanvasDrawingStyles;
|
|
|
|
CanvasRenderingContext2D implements CanvasPathMethods;
|
|
|
|
|
|
|
|
[NoInterfaceObject]
|
|
|
|
interface CanvasDrawingStyles {
|
|
|
|
// line caps/joins
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute double lineWidth; // (default 1)
|
|
|
|
attribute DOMString lineCap; // "butt", "round", "square" (default "butt")
|
2012-09-05 06:21:33 -07:00
|
|
|
[GetterThrows]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter")
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute double miterLimit; // (default 10)
|
|
|
|
|
|
|
|
// dashed lines
|
2013-10-16 05:27:59 -07:00
|
|
|
[LenientFloat] void setLineDash(sequence<double> segments); // default empty
|
|
|
|
sequence<double> getLineDash();
|
|
|
|
[LenientFloat] attribute double lineDashOffset;
|
2012-06-13 08:14:15 -07:00
|
|
|
|
|
|
|
// text
|
2012-09-05 06:21:33 -07:00
|
|
|
[SetterThrows]
|
2012-06-13 08:14:15 -07:00
|
|
|
attribute DOMString font; // (default 10px sans-serif)
|
|
|
|
attribute DOMString textAlign; // "start", "end", "left", "right", "center" (default: "start")
|
|
|
|
attribute DOMString textBaseline; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic")
|
|
|
|
};
|
|
|
|
|
|
|
|
[NoInterfaceObject]
|
|
|
|
interface CanvasPathMethods {
|
|
|
|
// shared path API methods
|
|
|
|
void closePath();
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void moveTo(double x, double y);
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void lineTo(double x, double y);
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void quadraticCurveTo(double cpx, double cpy, double x, double y);
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void bezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y);
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void arcTo(double x1, double y1, double x2, double y2, double radius);
|
2012-11-27 12:32:05 -08:00
|
|
|
// NOT IMPLEMENTED [LenientFloat] void arcTo(double x1, double y1, double x2, double y2, double radiusX, double radiusY, double rotation);
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-11-27 12:32:05 -08:00
|
|
|
[LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void rect(double x, double y, double w, double h);
|
2012-07-13 16:29:14 -07:00
|
|
|
|
2012-11-27 12:32:05 -08:00
|
|
|
[Throws, LenientFloat]
|
2012-06-13 08:14:15 -07:00
|
|
|
void arc(double x, double y, double radius, double startAngle, double endAngle, optional boolean anticlockwise = false);
|
2012-11-27 12:32:05 -08:00
|
|
|
// NOT IMPLEMENTED [LenientFloat] void ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, boolean anticlockwise);
|
2012-06-13 08:14:15 -07:00
|
|
|
};
|
2013-04-19 01:49:22 -07:00
|
|
|
|
2013-04-26 07:55:54 -07:00
|
|
|
interface CanvasGradient {
|
|
|
|
// opaque object
|
|
|
|
[Throws]
|
|
|
|
// addColorStop should take a double
|
|
|
|
void addColorStop(float offset, DOMString color);
|
|
|
|
};
|
|
|
|
|
2013-04-19 01:49:22 -07:00
|
|
|
interface CanvasPattern {
|
|
|
|
// opaque object
|
|
|
|
// void setTransform(SVGMatrix transform);
|
|
|
|
};
|
|
|
|
|
2013-04-19 01:49:22 -07:00
|
|
|
interface TextMetrics {
|
|
|
|
|
|
|
|
// x-direction
|
|
|
|
readonly attribute double width; // advance width
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOT IMPLEMENTED YET
|
|
|
|
|
|
|
|
readonly attribute double actualBoundingBoxLeft;
|
|
|
|
readonly attribute double actualBoundingBoxRight;
|
|
|
|
|
|
|
|
// y-direction
|
|
|
|
readonly attribute double fontBoundingBoxAscent;
|
|
|
|
readonly attribute double fontBoundingBoxDescent;
|
|
|
|
readonly attribute double actualBoundingBoxAscent;
|
|
|
|
readonly attribute double actualBoundingBoxDescent;
|
|
|
|
readonly attribute double emHeightAscent;
|
|
|
|
readonly attribute double emHeightDescent;
|
|
|
|
readonly attribute double hangingBaseline;
|
|
|
|
readonly attribute double alphabeticBaseline;
|
|
|
|
readonly attribute double ideographicBaseline;
|
|
|
|
*/
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2014-03-18 05:03:06 -07:00
|
|
|
[Pref="canvas.path.enabled",
|
|
|
|
Constructor,
|
2014-03-24 06:31:19 -07:00
|
|
|
Constructor(Path2D other),
|
|
|
|
Constructor(DOMString pathString)]
|
2014-03-18 05:03:06 -07:00
|
|
|
interface Path2D
|
|
|
|
{};
|
|
|
|
Path2D implements CanvasPathMethods;
|