Back Previous Next


Linguist graphics package - color

Syntax:

   color {name} {elements}

Keyword handler:

   net.eclecity.linguist.graphics.keyword.GraphicsKColor.class

Runtime handler(s):

   net.eclecity.linguist.graphics.handler.GraphicsHColor.class

Function:

Declares a color variable or an array of colors. The array size is fixed at time of compilation.

A color variable holds a specification for any color, whether it be a constant or itself a value computed at runtime (such as the color of the pixel at a specified location).

Example(s):

   color Red
   color Colors 8


Back Previous Next