Cleanup StrokeBounds example.

This commit is contained in:
Jonathan Puckey 2011-06-28 12:13:13 +02:00
parent 9e2fa872f8
commit b7ba11c9b8

View file

@ -68,14 +68,6 @@
path.strokeCap = 'round';
path.strokeJoin = 'miter';
var path = new Path.Circle([50, 50], 35);
path.strokeColor = 'black';
path.strokeWidth = 30;
path.strokeJoin = 'round';
path.strokeCap = 'round';
// path.scale(1, 0.5);
paths.push(path);
for (var i = 0; i < paths.length; i++) {
var path = paths[i];
path.scale(1.5, new Point(300, 0));
@ -88,6 +80,8 @@
rect.strokeColor = 'red'
rect.fillColor = null;
}
project.activeLayer.position = view.center;
</script>
</head>
<body>