Difference between revisions of "Pixel:getColor"

From GiderosMobile
Line 6: Line 6:
 
(number), (number) = Pixel:getColor()
 
(number), (number) = Pixel:getColor()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) Color<br/>
 
'''Returns''' (number) Color<br/>
 
'''Returns''' (number) alpha<br/>
 
'''Returns''' (number) alpha<br/>

Revision as of 10:39, 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