mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
15 lines
633 B
Text
15 lines
633 B
Text
// https://html.spec.whatwg.org/multipage/canvas.html#canvaslinecap
|
|
// enum CanvasLineCap { "butt", "round", "square" };
|
|
// enum CanvasLineJoin { "round", "bevel", "miter" };
|
|
|
|
// https://html.spec.whatwg.org/multipage/canvas.html#canvaspathdrawingstyles
|
|
interface mixin CanvasPathDrawingStyles {
|
|
attribute unrestricted double lineWidth;
|
|
attribute CanvasLineCap lineCap;
|
|
attribute CanvasLineJoin lineJoin;
|
|
attribute unrestricted double miterLimit;
|
|
|
|
undefined setLineDash(sequence<unrestricted double> segments);
|
|
sequence<unrestricted double> getLineDash();
|
|
attribute unrestricted double lineDashOffset;
|
|
};
|