Specifying Color in Assignment Statements
Design script assignment statements allow you to specify the color for filled and nonfilled elements in a variety of methods. The following methods are supported:
- Integer — where integer is a color index in the range from 0 to 255.
- String — where string is a color name from a built-in color table or a color book.
- RGB Data type — where the color is specified as a triplet of integers in the range 0 to 255.
There are three assignment keywords that allow you to specify a color using the methods listed above.
The following sections discuss the different methods for specifying color in an assignment statement.