Iupcolor

From Vendetta Lua
Revision as of 01:34, 20 November 2008 by Chefkoch (Talk | contribs) (New page: String that describes a color. Used for IUP widgets. '''Format:''' "'''R G B A MODE'''" '''R''' Red component (0-255)<br> '''G''' Green<br> '''B''' Blue<br> '''A''' Opacity<br> '''MODE'...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

String that describes a color. Used for IUP widgets.


Format: "R G B A MODE"

R Red component (0-255)
G Green
B Blue
A Opacity
MODE "&" or "*" for premultiplied and not premultiplied alpha. (which is what and what is default?)


Example

"255 0 0 127" full red with half opacity