pike.git / src / modules / Image / colors.c

version» Context lines:

pike.git/src/modules/Image/colors.c:15:   **! A color is here an object, containing color   **! information and methods for conversion, see below.   **!   **! <ref>Image.Color</ref> can be called to make a color object.   **! <ref>Image.Color()</ref> takes the following arguments:   **! <pre>   **! Image.Color(string name) // "red"   **! Image.Color(string prefix_string) // "lightblue"   **! Image.Color(string hex_name) // "#ff00ff"   **! Image.Color(string cmyk_string) // "%17,42,0,19.4" - **! Image.Color(string hsv_string) // "%@327,90,32" + **! Image.Color(string hsv_string) // "@327,90,32"   **! Image.Color(int red, int green, int blue)   **! </pre>   **!   **! The color names available can be listed by using indices   **! on Image.Color. The colors are available by name directly   **! as <tt>Image.Color.name</tt>, too:   **! <pre>   **! ...Image.Color.red...   **! ...Image.Color.green...   **! or, maybe