mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Improve Curve documentation.
This commit is contained in:
parent
2fd623d5b9
commit
e35b171bec
1 changed files with 10 additions and 1 deletions
|
@ -17,7 +17,16 @@
|
|||
/**
|
||||
* @name Curve
|
||||
*
|
||||
* @class The Curve object represents...
|
||||
* @class The Curve object represents the parts of a path that are connected by
|
||||
* two following segments. The curves of a path can be accessed through its
|
||||
* {@link Path#curves} array
|
||||
*
|
||||
* While a segment describe the anchor point and its incoming and outgoing
|
||||
* handles, a Curve object describes the curve passing between two such
|
||||
* segments. Curves and segments represent two different ways of looking at the
|
||||
* same thing, but focusing on different aspects. Curves for example offer many
|
||||
* convenient ways to work with parts of the path, finding lengths, positions or
|
||||
* tangents at given offsets.
|
||||
*/
|
||||
var Curve = this.Curve = Base.extend(/** @lends Curve# */{
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue