Difference between revisions of "Sprite:getAlpha"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.
Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Sprite:getAlpha()
 
(number) = Sprite:getAlpha()
 
</source>
 
</source>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The alpha of the sprite (value between 0-1)</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) the alpha of the sprite (value between 0-1)<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 02:55, 24 September 2022

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)