{{newin|[[11.0]]|110|type=function}}
Resets the Transform to the specified transformation parameters.

== Function ==
=== Synopsis ===
<source lang="lua">
transform = Transform:setTransformation( x, y, angle, sx, sy, ox, oy, kx, ky )
</source>
=== Arguments ===
{{param|number|x|The position of the Transform on the x-axis.}}
{{param|number|y|The position of the Transform on the y-axis.}}
{{param|number|angle (0)|The orientation of the Transform in radians.}}
{{param|number|sx (1)|Scale factor on the x-axis.}}
{{param|number|sy (sx)|Scale factor on the y-axis.}}
{{param|number|ox (0)|Origin offset on the x-axis.}}
{{param|number|oy (0)|Origin offset on the y-axis.}}
{{param|number|kx (0)|Shearing / skew factor on the x-axis.}}
{{param|number|ky (0)|Shearing / skew factor on the y-axis.}}
=== Returns ===
{{param|Transform|transform|The Transform object the method was called on. Allows easily chaining Transform methods.}}

== See Also ==
* [[parent::Transform]]
* [[love.math.newTransform]]
[[Category:Functions]]
{{#set:Description=Resets the Transform to the specified transformation parameters.}}
== Other Languages ==
{{i18n|Transform:setTransformation}}