Bitmap:getAnchorPoint

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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.