Iupcolor

From Vendetta Lua
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