Difference between revisions of "ColorMode"
m |
|||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{oldin|[[0.9.0]]|090|type=enum}} | |
+ | Controls whether images will be affected by the current color. | ||
== Constants == | == Constants == | ||
− | + | {{constant|modulate|Images (etc) will be affected by the current color.}} | |
− | + | {{constant|replace|Replace color mode. Images (etc) will not be affected by current color.}} | |
+ | {{constant|combine (since 0.8.0)|Colorize images (etc) with the current color. While 'modulate' works like a filter that absorbs colors that differ from the current color (possibly to a point where a color channel is entirely absorbed), 'combine' tints the image in a way that preserves a hint of the original colors.}} | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
+ | * [[love.graphics.setColorMode]] | ||
+ | * [[love.graphics.getColorMode]] | ||
[[Category:Enums]] | [[Category:Enums]] | ||
− | {{#set:Description= | + | {{#set:Description=Controls how drawn images are affected by current color.}} |
− | {{#set:Since= | + | {{#set:Since=020}} |
+ | {{#set:PrettySince=0.2.0}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|ColorMode}} | {{i18n|ColorMode}} |
Latest revision as of 15:32, 6 September 2016
Removed in LÖVE 0.9.0 |
This enum is not supported in that and later 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.
- combine (since 0.8.0)
- Colorize images (etc) with the current color. While 'modulate' works like a filter that absorbs colors that differ from the current color (possibly to a point where a color channel is entirely absorbed), 'combine' tints the image in a way that preserves a hint of the original colors.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info