Difference between revisions of "ColorMode"

m
(Implement the new 'constant' template.)
Line 2: Line 2:
 
Controls whether images will be affected by the current color.
 
Controls whether images will be affected by the current color.
 
== Constants ==
 
== Constants ==
;modulate: Images (etc) will be affected by the current color.
+
{{constant|modulate|Images (etc) will be affected by the current color.}}
;replace: Replace color mode. Images (etc) will not be affected by current color.
+
{{constant|replace|Replace color mode. Images (etc) will not be affected by current color.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 23:37, 24 July 2012

Available since LÖVE 0.2.0
This enum is not supported in earlier versions.

Controls whether images will be affected by the current color.

Constants

modulate
Images (etc) will be affected by the current color.
replace
Replace color mode. Images (etc) will not be affected by current color.

See Also

Other Languages