Index: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
index 88cee005b1eb940bd260523ccca50e48b43a7b98..29a3d061aea81e5ce9aa443ad42cd5e90da8b8cf 100644 |
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
@@ -11,6 +11,15 @@ |
] interface OffscreenCanvasRenderingContext2D { |
// back-reference to the canvas |
[ImplementedAs=getOffscreenCanvas] readonly attribute OffscreenCanvas offscreenCanvas; |
+ |
+ // colors and styles (see also the CanvasDrawingStyles interface) |
+ attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (default black) |
+ attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (default black) |
+ |
+ //CanvasRect interface |
+ void clearRect(unrestricted double x, unrestricted double y, unrestricted double width, unrestricted double height); |
+ void fillRect(unrestricted double x, unrestricted double y, unrestricted double width, unrestricted double height); |
+ void strokeRect(unrestricted double x, unrestricted double y, unrestricted double width, unrestricted double height); |
}; |
OffscreenCanvasRenderingContext2D implements CanvasPathMethods; |