Difference between revisions of "Sprite:getColorTransform"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Returns the red, green, blue and alpha channel multipliers.<br />
 
<translate>Returns the red, green, blue and alpha channel multipliers.<br />
 
<br /></translate>
 
<br /></translate>
Line 7: Line 7:
 
(number), (number), (number), (number) = Sprite:getColorTransform()
 
(number), (number), (number), (number) = Sprite:getColorTransform()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>redMultiplier</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>redMultiplier</translate><br/>
'''Returns''' (number) <translate>greenMultiplier</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>greenMultiplier</translate><br/>
'''Returns''' (number) <translate>blueMultiplier</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>blueMultiplier</translate><br/>
'''Returns''' (number) <translate>alphaMultiplier</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>alphaMultiplier</translate><br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2011.6

Description

Returns the red, green, blue and alpha channel multipliers.

(number), (number), (number), (number) = Sprite:getColorTransform()

Return values

Returns (number) redMultiplier
Returns (number) greenMultiplier
Returns (number) blueMultiplier
Returns (number) alphaMultiplier