mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Update examples/ExportSVGTests/Line Testing.html
This commit is contained in:
parent
333b6bb0ed
commit
db6e712203
1 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
y2 = 45;
|
||||
var line1 = new Path.Line([x1, y1], [x2, y2]);
|
||||
line1.strokeColor = "blue";
|
||||
line1.strokeWidth = "10px";
|
||||
line1.strokeWidth = "10";
|
||||
|
||||
var x3 = 20,
|
||||
x4 = 99,
|
||||
|
@ -35,10 +35,9 @@
|
|||
y6 = 300;
|
||||
var line3 = new Path.Line([x5, y5], [x6, y6]);
|
||||
line3.strokeColor = "yellow";
|
||||
line3.strokeWidth = "5px";
|
||||
line3.strokeWidth = "5";
|
||||
|
||||
var esvg = new ExportSVG();
|
||||
//esvg.exportProject(paper.project);
|
||||
var output = esvg.exportProject(paper.project);
|
||||
console.log(output);
|
||||
var test = document.getElementById('svg')
|
||||
|
|
Loading…
Reference in a new issue