Difference between revisions of "Pixel:getColor"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Gets the color of the Pixel or 4 color-alpha pairs if it has a gradient.</translate>
 
<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 ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>Color</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>Color</translate><br/>
'''Returns''' (number) <translate>alpha</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>alpha</translate><br/>

Revision as of 07:29, 24 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