mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Reformat to fit 80 chars boundary.
This commit is contained in:
parent
d82eb4534c
commit
b8816a07f5
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ Path = PathItem.extend(new function() {
|
||||||
var path = new Path();
|
var path = new Path();
|
||||||
path.closed = true;
|
path.closed = true;
|
||||||
var rectangle = Rectangle.read(arguments);
|
var rectangle = Rectangle.read(arguments);
|
||||||
var corners = ['bottomLeft', 'topLeft', 'topRight', 'bottomRight'];
|
var corners = ['bottomLeft', 'topLeft', 'topRight',
|
||||||
|
'bottomRight'];
|
||||||
for (var i = 0; i < 4; i++) {
|
for (var i = 0; i < 4; i++) {
|
||||||
path.add(rectangle[corners[i]]);
|
path.add(rectangle[corners[i]]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue