<SETCOLOR 
"SET COLOR    

Assigns color index values for object display, highlighting, and dynamic drawing.


Syntax

SE*T C*OLOR 
colorIndex 	
redIntensity 	
greenIntensity 	
blueIntensity;


Arguments

colorIndex
Number 0 through n-1 identifying color table entry desired. Default: refer to table in the next section for all default values

redIntensity greenIntensity blueIntensity
Decimal fraction of total red, green, and blue intensities given as a values between 0.0 and 1.0 inclusive.


Description

By default, eight display colors are available at a time. Indexes 0-7 are used for normal object display, 8-15 for highlighting, and 16-31 for dynamic drawing. Each index in the color table can be defined as any color by SET COLOR. The red, green, and blue options represent the fraction of each color to use when mixing a color. This command is useful in conjunction with Draw.*.Color.

Index  Color       Red  Green  Blue
  0    Black       1.0   0.0   0.0
  1    Red         1.0   0.0   0.0
  2    Blue        0.0   0.0   1.0
  3    Green       0.0   1.0   0.0
  4    Magenta     1.0   0.0   1.0
  5    Yellow      1.0   1.0   0.0
  6    Light blue  0.0   1.0   1.0
  7    White       1.0   1.0   1.0


Environmental Variables

Draw.<object>.Color 
INTEGER [0, 31] - NOVICE 
Sets the display color for the design object.


Example

SET COLOR 4 .5 .9 .3 ;
"

	<Type QHELP>
	<Header "Set Color Command Help">
<beginAutoGen "** Do not edit from here to the endAutoGen tag **" >
<endAutoGen >
>
