Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Path.html #4416

Merged
merged 1 commit into from
Feb 10, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions docs/api/extras/core/Path.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ <h2>Constructor</h2>

<h3>[name]([page:todo points])</h3>
<div>
points -- todo
points -- array of Vector2
</div>
<div>
todo
Creates a Path from the points. The first vector defines the offset. After that the lines get defined.
</div>


Expand All @@ -29,25 +29,27 @@ <h2>Properties</h2>

<h3>.[page:array actions]</h3>
<div>
todo
The possible actions that define the path.
</div>

<h2>Methods</h2>

<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>
<div>todo</div>
<div>This moves the offset to x and y</div>

<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>
<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>
<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>
<div>todo</div>
Expand Down