Difference between revisions of "Sprite:getAlpha"

From GiderosMobile
Line 12: Line 12:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>The alpha of the sprite (value between 0-1)</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The alpha of the sprite (value between 0-1)</translate><br/>
 +
 +
{{Sprite}}

Revision as of 00:06, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

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)