mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-13 14:38:49 -04:00
Move segment merging logic from Path#closePath() to Path#join()
Closes #435
This commit is contained in:
parent
e0120b8f58
commit
7c447c8c5a
2 changed files with 16 additions and 20 deletions
src/path
|
@ -558,8 +558,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
// DOCS: PathItem#arcTo(to, radius, rotation, clockwise, large)
|
||||
|
||||
/**
|
||||
* Closes the path. When closed, Paper.js connects the first and last
|
||||
* segments.
|
||||
* Closes the path. When closed, Paper.js connects the first and
|
||||
* last segment of the path with an additional curve.
|
||||
*
|
||||
* @name PathItem#closePath
|
||||
* @function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue