Difference between revisions of "Pixel:getColor"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
Gets the color of the Pixel or 4 color-alpha pairs if it has a gradient.
+
<translate>Gets the color of the Pixel or 4 color-alpha pairs if it has a gradient.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number) = Pixel:getColor()
 
(number), (number) = Pixel:getColor()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) Color<br/>
+
'''Returns''' (number) <translate>Color</translate><br/>
'''Returns''' (number) alpha<br/>
+
'''Returns''' (number) <translate>alpha</translate><br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2016.06

Description

Gets the color of the Pixel or 4 color-alpha pairs if it has a gradient.

(number), (number) = Pixel:getColor()

Return values

Returns (number) Color
Returns (number) alpha