Changes
Jump to navigation
Jump to search
← Older edit
gc:setColorRGB
177 bytes added
,
12:27, 20 December 2011
→Syntax
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 ==
Adriweb
Bureaucrats
,
Administrators
935
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version