Difference between revisions of "Pixel:getColor"

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

Revision as of 10:16, 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()

Returns (number) Color
Returns (number) alpha