Difference between revisions of "Sprite:getScale"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Returns the horizontal, vertical and z axis scales of the sprite.<br />
 
Returns the horizontal, vertical and z axis scales of the sprite.<br />
Line 8: Line 8:
 
(number), (number), (number) = Sprite:getScale()
 
(number), (number), (number) = Sprite:getScale()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>The horizontal scale of the sprite</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The horizontal scale of the sprite</translate><br/>
'''Returns''' (number) <translate>The vertical scale of the sprite</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The vertical scale of the sprite</translate><br/>
'''Returns''' (number) <translate>The depth scale of the sprite</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The depth scale of the sprite</translate><br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2011.6

Description


Returns the horizontal, vertical and z axis scales of the sprite.

(number), (number), (number) = Sprite:getScale()

Return values

Returns (number) The horizontal scale of the sprite
Returns (number) The vertical scale of the sprite
Returns (number) The depth scale of the sprite