| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://html.spec.whatwg.org/multipage/scripting.html#the-offscreen-2d-render
ing-context | 5 // https://html.spec.whatwg.org/multipage/scripting.html#the-offscreen-2d-render
ing-context |
| 6 | 6 |
| 7 [ | 7 [ |
| 8 Exposed=(Window,Worker), | 8 Exposed=(Window,Worker), |
| 9 RuntimeEnabled=ExperimentalCanvasFeatures, | 9 RuntimeEnabled=ExperimentalCanvasFeatures, |
| 10 ] interface OffscreenCanvasRenderingContext2D { | 10 ] interface OffscreenCanvasRenderingContext2D { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 attribute DOMString lineCap; // "butt", "round", "square" (default "butt") | 82 attribute DOMString lineCap; // "butt", "round", "square" (default "butt") |
| 83 attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter") | 83 attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter") |
| 84 attribute unrestricted double miterLimit; // (default 10) | 84 attribute unrestricted double miterLimit; // (default 10) |
| 85 | 85 |
| 86 // dashed lines | 86 // dashed lines |
| 87 void setLineDash(sequence<unrestricted double> dash); | 87 void setLineDash(sequence<unrestricted double> dash); |
| 88 sequence<unrestricted double> getLineDash(); | 88 sequence<unrestricted double> getLineDash(); |
| 89 attribute unrestricted double lineDashOffset; | 89 attribute unrestricted double lineDashOffset; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 OffscreenCanvasRenderingContext2D implements CanvasPathMethods; | 92 OffscreenCanvasRenderingContext2D implements CanvasPath; |
| OLD | NEW |