|
@@ -49,27 +49,27 @@
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
|
|
- <h3>[method:null moveTo]( [param:Float x], [param:Float y] )</h3>
|
|
|
+ <h3>[method:this moveTo]( [param:Float x], [param:Float y] )</h3>
|
|
|
<p>
|
|
|
Starts a new [page:Path] and calls [page:Path.moveTo]( x, y ) on that [page:Path].
|
|
|
Also points [page:ShapePath.currentPath currentPath] to that [page:Path].
|
|
|
</p>
|
|
|
|
|
|
- <h3>[method:null lineTo]( [param:Float x], [param:Float y] )</h3>
|
|
|
+ <h3>[method:this lineTo]( [param:Float x], [param:Float y] )</h3>
|
|
|
<p>This creates a line from the [page:ShapePath.currentPath currentPath]'s
|
|
|
offset to X and Y and updates the offset to X and Y.</p>
|
|
|
|
|
|
- <h3>[method:null quadraticCurveTo]( [param:Float cpX], [param:Float cpY], [param:Float x], [param:Float y] )</h3>
|
|
|
+ <h3>[method:this quadraticCurveTo]( [param:Float cpX], [param:Float cpY], [param:Float x], [param:Float y] )</h3>
|
|
|
<p>This creates a quadratic curve from the [page:ShapePath.currentPath currentPath]'s
|
|
|
offset to x and y with cpX and cpY as control point and updates the [page:ShapePath.currentPath currentPath]'s
|
|
|
offset to x and y.</p>
|
|
|
|
|
|
- <h3>[method:null bezierCurveTo]( [param:Float cp1X], [param:Float cp1Y], [param:Float cp2X], [param:Float cp2Y], [param:Float x], [param:Float y] )</h3>
|
|
|
+ <h3>[method:this bezierCurveTo]( [param:Float cp1X], [param:Float cp1Y], [param:Float cp2X], [param:Float cp2Y], [param:Float x], [param:Float y] )</h3>
|
|
|
<p>This creates a bezier curve from the [page:ShapePath.currentPath currentPath]'s
|
|
|
offset to x and y with cp1X, cp1Y and cp1X, cp1Y as control points and updates the
|
|
|
[page:ShapePath.currentPath currentPath]'s offset to x and y.</p>
|
|
|
|
|
|
- <h3>[method:null splineThru] ( [param:Array points] ) </h3>
|
|
|
+ <h3>[method:this splineThru] ( [param:Array points] ) </h3>
|
|
|
<p>points - An array of [page:Vector2]s</p>
|
|
|
<p>Connects a new [page:SplineCurve] onto the [page:ShapePath.currentPath currentPath].</p>
|
|
|
|