Bitmap:getAnchorPoint: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''Class:''' [[Bitmap]]<br/>
=== Description ===
=== Description ===
<br />
Returns the x and y coordinates of the anchor point.
Returns the x and y coordinates of the anchor point.<br />
 
<br />
<syntaxhighlight lang="lua">
<source lang="lua">
(number), (number) = Bitmap:getAnchorPoint()
(number), (number) = Bitmap:getAnchorPoint()
</source>
</syntaxhighlight>
 
=== Return values ===
'''Returns''' (number) The x coordinate of the anchor point.<br/>
'''Returns''' (number) The x coordinate of the anchor point.<br/>
'''Returns''' (number) The y coordinate of the anchor point.<br/>
'''Returns''' (number) The y coordinate of the anchor point.<br/>
{{Bitmap}}

Latest revision as of 13:27, 13 July 2023

Available since: Gideros 2011.6
Class: Bitmap

Description

Returns the x and y coordinates of the anchor point.

(number), (number) = Bitmap:getAnchorPoint()

Return values

Returns (number) The x coordinate of the anchor point.
Returns (number) The y coordinate of the anchor point.