Difference between revisions of "CircleShape:getLocalCenter"
(add new func) |
(oldin notice.) |
||
(2 intermediate revisions by 2 users 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 == | ||
+ | {{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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info