Changes

Jump to navigation Jump to search

gc:setColorRGB

177 bytes added, 12:27, 20 December 2011
Line 2: Line 2:     
It sets the color of subsequent ''draw'' and ''fill'' operations.
 
It sets the color of subsequent ''draw'' and ''fill'' operations.
 +
    
{{Since|3.0}}
 
{{Since|3.0}}
Line 18: Line 19:  
| <u><center>blue</center></u> || number || A number from 0 to 255 representing the "amount" of blue in the color
 
| <u><center>blue</center></u> || number || A number from 0 to 255 representing the "amount" of blue in the color
 
|}
 
|}
 +
 +
NB : You can also use hexadecimal numbers instead of decimal ones for each of the arguments.<br />
 +
For example : '''gc:setColorRGB(0xFF,0xA5,0x9D)''' is perfecly valid.<br />
    
== Example  ==
 
== Example  ==

Navigation menu