Difference between revisions of "BezierCurve:translate"

m (moved BezierCurve:move to BezierCurve:translate: Function was renamed)
m (function was renamed)
 
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