Move segment merging logic from Path#closePath() to Path#join()

Closes 
This commit is contained in:
Jürg Lehni 2014-03-31 18:14:58 +02:00
parent e0120b8f58
commit 7c447c8c5a
2 changed files with 16 additions and 20 deletions
src/path

View file

@ -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