Difference between revisions of "CircleShape:getLocalCenter"

m (included link to other languages)
(oldin notice.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{oldin|[[0.8.0]]|080|type=method}}
 
Get the center of the circle in local coordinates.
 
Get the center of the circle in local coordinates.
 +
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 10: Line 12:
 
{{param|number|lx|The x position of the circle in local coordinates.}}
 
{{param|number|lx|The x position of the circle in local coordinates.}}
 
{{param|number|ly|The y position of the circle in local coordinates.}}
 
{{param|number|ly|The y position of the circle in local coordinates.}}
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::CircleShape]]
 
* [[parent::CircleShape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get the center of the circle in local coordinates.}}
 
{{#set:Description=Get the center of the circle in local coordinates.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|CircleShape:getLocalCenter}}
 
{{i18n|CircleShape:getLocalCenter}}

Latest revision as of 19:07, 16 May 2012

Removed in LÖVE 0.8.0
This method is not supported in that and later versions.

Get the center of the circle in local coordinates.

Function

Synopsis

lx, ly = CircleShape:getLocalCenter( )

Arguments

None.

Returns

number lx
The x position of the circle in local coordinates.
number ly
The y position of the circle in local coordinates.

See Also


Other Languages