Colors

The following basic colors are supported by RaptorGraph:

 

Black, Blue, Green, Cyan, Red, Magenta, Brown, Light_Gray, Dark_Gray, Light_Blue, Light_Green, Light_Cyan, Light_Red, Light_Magenta, Yellow, White

 

The Raptor programmer can refer to these colors by name or by using the numbers 0 to 15, where 0 is Black, 1 is Blue, and 15 is White. For example, if the variable BoxColor has the value 2, all three of the following draw the same color box:

 

Draw_Box(X1, Y1, X2, Y2, BoxColor, Filled)

Draw_Box(X1, Y1, X2, Y2, Green, Filled)

Draw_Box(X1, Y1, X2, Y2, 2, Filled)

 

RaptorGraph drawing routines let the programmer use color values up to 241.  The values greater than 15 are called Extended Colors, and they have no names associated with them.