Difference between revisions of "CircleShape:setPoint"

(Created page)
 
m (Synopsis)
 
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
x, y = CircleShape:setPoint( x, y )
+
CircleShape:setPoint( x, y )
 
</source>
 
</source>
 +
 
=== Arguments ===
 
=== Arguments ===
 
{{param|number|x|The x-component of the new center point of the circle.}}
 
{{param|number|x|The x-component of the new center point of the circle.}}

Latest revision as of 11:30, 16 June 2017

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

Sets the location of the center of the circle shape.

Function

Synopsis

CircleShape:setPoint( x, y )

Arguments

number x
The x-component of the new center point of the circle.
number y
The y-component of the new center point of the circle.

Returns

Nothing.

See Also

Other Languages