ladybird/Userland/Libraries/LibWeb/HTML/Canvas/CanvasPathDrawingStyles.idl

16 lines
659 B
Text
Raw Normal View History

// 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;
undefined setLineDash(sequence<unrestricted double> segments);
sequence<unrestricted double> getLineDash();
[FIXME] attribute unrestricted double lineDashOffset;
};