Canvas: added lineCap and lineJoin support.

This commit is contained in:
Mátyás Mustoha 2015-04-10 13:11:28 +02:00
parent 43d476eb2b
commit ccfff159e7
18 changed files with 109 additions and 67 deletions

View file

@ -134,8 +134,8 @@ interface CanvasRenderingContext2D {
interface CanvasDrawingStyles {
// line caps/joins
attribute unrestricted double lineWidth; // (default 1)
//attribute DOMString lineCap; // "butt", "round", "square" (default "butt")
//attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter")
attribute DOMString lineCap; // "butt", "round", "square" (default "butt")
attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter")
attribute unrestricted double miterLimit; // (default 10)
// dashed lines