Difference between revisions of "Bitmap:getAnchorPoint"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
Returns the x and y coordinates of the anchor point. | Returns the x and y coordinates of the anchor point. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number), (number) = Bitmap:getAnchorPoint() | (number), (number) = Bitmap:getAnchorPoint() | ||
</source> | </source> |
Revision as of 14:26, 13 July 2023
Available since: Gideros 2011.6
Class: Bitmap
Description
Returns the x and y coordinates of the anchor point.
<syntaxhighlight lang="lua"> (number), (number) = Bitmap:getAnchorPoint() </source>
Return values
Returns (number) The x coordinate of the anchor point.
Returns (number) The y coordinate of the anchor point.