ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 24日 (水) 05:33:24 JST
------------------------- REMOTE_ADDR = 70.49.50.179 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-appdx-clrtheory ------------------------- @@ -441,7 +441,17 @@ or : mk_cairo_acolor(:red [, 0.05 [, 0.5 ] ] ) Note : .... brackets indicate optional parameters - not an array. - + +{{br}} +You may also be interested in using three other methods from the colour management module: + + 1) base_color_names .............................. returns symbols of all available base colours. + 2) mk_rgb_color(color, brightness=1, alpha=1) .... returns colour tuple with components in hex, + without the alpha (transparency) component. + 3) mk_rgba_color(color, brightness=1, alpha=1) ... same as (2), but with alpha channel component. + + +{{br}} Let's now look at the program. :Programmer's Note: