mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Update examples/ExportSVGTests/Text Testing.html
This commit is contained in:
parent
b2c4d1b6d7
commit
0efcaade4b
1 changed files with 1 additions and 6 deletions
|
@ -26,9 +26,6 @@
|
|||
center = new Point(100,100);
|
||||
var path2 = new Path.Circle(center,radius);
|
||||
path2.strokeColor = 'black';
|
||||
console.log(path2.getSegments());
|
||||
//copy = path2.clone();
|
||||
//copy.strokeColor = 'blue';
|
||||
point = new Point(120,100);
|
||||
path2.shear(.5, .5);
|
||||
colors = ['red', 'blue', 'green', 'orange'];
|
||||
|
@ -36,12 +33,10 @@
|
|||
var p = path2.segments[i].point;
|
||||
var c = new Path.Circle(p, 2);
|
||||
c.fillColor = colors[i];
|
||||
}
|
||||
console.log(path2.segments);
|
||||
}
|
||||
|
||||
var esvg = new ExportSVG();
|
||||
var output = esvg.exportProject(paper.project);
|
||||
//console.log(output);
|
||||
var test = document.getElementById('svg')
|
||||
test.innerHTML = "";
|
||||
test.appendChild (output);
|
||||
|
|
Loading…
Reference in a new issue