mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-22 19:58:52 -04:00
Examples: Close the letterPath.
This commit is contained in:
parent
ed55dc39fb
commit
d33a2decab
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
||||||
new Segment(new Point(104.91015625, 298.31494140625), new Point(44.30419921875, 0), new Point(-18.111328125, 0)),
|
new Segment(new Point(104.91015625, 298.31494140625), new Point(44.30419921875, 0), new Point(-18.111328125, 0)),
|
||||||
new Segment(new Point(56.984375, 286.0546875), new Point(10.03076171875, 6.6875))
|
new Segment(new Point(56.984375, 286.0546875), new Point(10.03076171875, 6.6875))
|
||||||
);
|
);
|
||||||
|
letterPath.closed = true;
|
||||||
letterPath.fillColor = 'black';
|
letterPath.fillColor = 'black';
|
||||||
doc.redraw();
|
doc.redraw();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue