Difference between revisions of "Sprite:getAlpha"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.<br /> | Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
(number) = Sprite:getAlpha() | (number) = Sprite:getAlpha() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (number) The alpha of the sprite (value between 0-1)<br/> | + | '''Returns''' (number) <translate>The alpha of the sprite (value between 0-1)</translate><br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.
(number) = Sprite:getAlpha()
Return values
Returns (number) The alpha of the sprite (value between 0-1)