mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Merge pull request #15 from rdworth/example_strokebounds_semicolons
Example: Stroke Bounds: Added two missing semicolons, example is broken w
This commit is contained in:
commit
0a719d909a
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@
|
||||||
path.scale(1.5, new Point(300, 0));
|
path.scale(1.5, new Point(300, 0));
|
||||||
var rect = new Path.Rectangle(path.strokeBounds);
|
var rect = new Path.Rectangle(path.strokeBounds);
|
||||||
rect.strokeWidth = 0.25;
|
rect.strokeWidth = 0.25;
|
||||||
rect.strokeColor = 'black'
|
rect.strokeColor = 'black';
|
||||||
rect.fillColor = null;
|
rect.fillColor = null;
|
||||||
var rect = new Path.Rectangle(path.bounds);
|
var rect = new Path.Rectangle(path.bounds);
|
||||||
rect.strokeWidth = 0.25;
|
rect.strokeWidth = 0.25;
|
||||||
rect.strokeColor = 'red'
|
rect.strokeColor = 'red';
|
||||||
rect.fillColor = null;
|
rect.fillColor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue