ladybird/Userland/Libraries/LibWeb/HTML/Canvas/CanvasPathDrawingStyles.idl
2024-05-19 17:35:25 +02:00

15 lines
675 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;
[FIXME] attribute CanvasLineCap lineCap;
[FIXME] attribute CanvasLineJoin lineJoin;
[FIXME] attribute unrestricted double miterLimit;
[FIXME] undefined setLineDash(sequence<unrestricted double> segments);
[FIXME] sequence<unrestricted double> getLineDash();
[FIXME] attribute unrestricted double lineDashOffset;
};