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

Updated method name to setFromPoints and reordered #12881

Merged
merged 1 commit into from
Dec 16, 2017
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
16 changes: 8 additions & 8 deletions docs/api/extras/core/Path.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ <h3>[method:null arc]( [page:Float x], [page:Float y], [page:Float radius], [pag
<h3>[method:null bezierCurveTo]( [page:Float cp1X], [page:Float cp1Y], [page:Float cp2X], [page:Float cp2Y], [page:Float x], [page:Float y] )</h3>
<div>This creates a bezier curve from [page:.currentPoint] with (cp1X, cp1Y) and (cp2X, cp2Y) as control points and updates [page:.currentPoint] to x and y.</div>

<h3>[method:null fromPoints]( [page:Array vector2s] )</h3>
<div>
points -- array of [page:Vector2 Vector2s].<br /><br />

Points are added to the [page:CurvePath.curves curves]
array as [page:LineCurve LineCurves].
</div>

<h3>[method:null ellipse]( [page:Float x], [page:Float y], [page:Float xRadius], [page:Float yRadius], [page:Float startAngle], [page:Float endAngle], [page:Float clockwise], [page:Float rotation] )</h3>
<div>
x, y -- The center of the ellipse offset from the last call.<br />
Expand All @@ -126,6 +118,14 @@ <h3>[method:null moveTo]( [page:Float x], [page:Float y] )</h3>
<h3>[method:null quadraticCurveTo]( [page:Float cpX], [page:Float cpY], [page:Float x], [page:Float y] )</h3>
<div>Creates a quadratic curve from [page:.currentPoint] with cpX and cpY as control point and updates [page:.currentPoint] to x and y.</div>

<h3>[method:null setFromPoints]( [page:Array vector2s] )</h3>
<div>
points -- array of [page:Vector2 Vector2s].<br /><br />

Points are added to the [page:CurvePath.curves curves]
array as [page:LineCurve LineCurves].
</div>

<h3>[method:null splineThru] ( [page:Array points] ) </h3>
<div>
points - An array of [page:Vector2 Vector2s]<br /><br />
Expand Down