Difference between revisions of "BezierCurve:translate"

(Created page with "{{newin|0.9.0|090|type=function}} Move the Bézier curve by an offset. == Function == === Synopsis === <source lang="lua"> BezierCurve:move(dx, dy) </source> === Arguments =...")
 
m (function was renamed)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
BezierCurve:move(dx, dy)
+
BezierCurve:translate(dx, dy)
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 20: Line 20:
 
{{#set:Description=Move the Bézier curve.}}
 
{{#set:Description=Move the Bézier curve.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|BezierCurve:move}}
+
{{i18n|BezierCurve:translate}}

Latest revision as of 23:02, 28 August 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Move the Bézier curve by an offset.

Function

Synopsis

BezierCurve:translate(dx, dy)

Arguments

number dx
Offset along the x axis.
number dy
Offset along the y axis.

Returns

Nothing.

See Also

Other Languages