|
@@ -17,10 +17,10 @@
|
|
|
|
|
|
<h3>[name]([page:todo points])</h3>
|
|
<h3>[name]([page:todo points])</h3>
|
|
<div>
|
|
<div>
|
|
- points -- todo
|
|
|
|
|
|
+ points -- array of Vector2
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ Creates a Path from the points. The first vector defines the offset. After that the lines get defined.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@@ -29,25 +29,27 @@
|
|
|
|
|
|
<h3>.[page:array actions]</h3>
|
|
<h3>.[page:array actions]</h3>
|
|
<div>
|
|
<div>
|
|
- todo
|
|
|
|
|
|
+ The possible actions that define the path.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|
|
|
|
|
|
<h3>.fromPoints ( vectors ) </h3>
|
|
<h3>.fromPoints ( vectors ) </h3>
|
|
- <div>todo</div>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ Adds to the Path from the points. The first vector defines the offset. After that the lines get defined.
|
|
|
|
+ </div>
|
|
|
|
|
|
<h3>.moveTo ( x, y ) </h3>
|
|
<h3>.moveTo ( x, y ) </h3>
|
|
- <div>todo</div>
|
|
|
|
|
|
+ <div>This moves the offset to x and y</div>
|
|
|
|
|
|
<h3>.lineTo ( x, y ) </h3>
|
|
<h3>.lineTo ( x, y ) </h3>
|
|
- <div>todo</div>
|
|
|
|
|
|
+ <div>This creates a line from the offset to X and Y and updates the offset to X and Y.</div>
|
|
|
|
|
|
<h3>.quadraticCurveTo ( aCPx, aCPy, aX, aY ) </h3>
|
|
<h3>.quadraticCurveTo ( aCPx, aCPy, aX, aY ) </h3>
|
|
- <div>todo</div>
|
|
|
|
|
|
+ <div>This creates a quadratic curve from the offset to aX and aY with aCPx and aCPy as control point and updates the offset to aX and aY.</div>
|
|
|
|
|
|
<h3>.bezierCurveTo ( aCP1x, aCP1y, aCP2x, aCP2y, aX, aY ) </h3>
|
|
<h3>.bezierCurveTo ( aCP1x, aCP1y, aCP2x, aCP2y, aX, aY ) </h3>
|
|
- <div>todo</div>
|
|
|
|
|
|
+ <div>This creates a bezier curve from the offset to aX and aY with aCP1x, aCP1y and aCP1x, aCP1y as control points and updates the offset to aX and aY.</div>
|
|
|
|
|
|
<h3>.splineThru ( pts /*Array of Vector*/ ) </h3>
|
|
<h3>.splineThru ( pts /*Array of Vector*/ ) </h3>
|
|
<div>todo</div>
|
|
<div>todo</div>
|