mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Canvas: added lineCap and lineJoin support.
This commit is contained in:
parent
43d476eb2b
commit
ccfff159e7
18 changed files with 109 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue