Programmer's Reference
To specify colors, Common Graphics defines the following class:
- CgRGBColor
- Specifies a color using integer values in the range 0-65535 giving
the intensities of the color primaries red, green, and blue.
There are three ways to create a CgRGBColor in Common Graphics
as follows:
- Specify the red, green, and blue intensities of the color with integers
between 0 (full off) to 65535 (full on).
- Specify a color name to look up in a database of colors.
- Specify the RGB intensities in string form.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]