Difference between revisions of "BezierCurve:rotate"

(Created page with "{{newin|0.9.0|090|type=function}} Rotate the Bézier curve by an angle. == Function == === Synopsis === <source lang="lua"> BezierCurve:rotate(angle, ox, oy) </source> === A...")
 
m
 
Line 14: Line 14:
 
Nothing.
 
Nothing.
 
== See Also ==
 
== See Also ==
* [[BezierCurve:move]]
+
* [[BezierCurve:translate]]
 
* [[BezierCurve:scale]]
 
* [[BezierCurve:scale]]
 
* [[parent::BezierCurve]]
 
* [[parent::BezierCurve]]

Latest revision as of 23:03, 28 August 2013

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

Rotate the Bézier curve by an angle.

Function

Synopsis

BezierCurve:rotate(angle, ox, oy)

Arguments

number angle
Rotation angle in radians.
number ox (0)
X coordinate of the rotation center.
number oy (0)
Y coordinate of the rotation center.

Returns

Nothing.

See Also

Other Languages