Difference between revisions of "Pixel:getColor"
From GiderosMobile
Line 11: | Line 11: | ||
'''<translate>Returns</translate>''' (number) <translate>Color</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>Color</translate><br/> | ||
'''<translate>Returns</translate>''' (number) <translate>alpha</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>alpha</translate><br/> | ||
+ | |||
+ | {{Pixel}} |
Revision as of 22:31, 3 December 2019
Available since: Gideros 2016.06
Class: Pixel
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