next up previous contents index
Next: \comment Up: Diagram header specific operators Previous: \color_back   Contents   Index

Subsections

\color_front

Description 

Operator to specify the desired color of the front side of the sheet of paper. This color is used within a fill operation (operator \fill see §[*]) in which the side flag is equal to 'back'. There are two different ways to define a color: Therefore, two syntaxes are provided. The first one takes only one parameter which is the color symbol name. This name should be one of those declared by the language (see below). The second syntax takes three integer values which are respectively red, green and blue percentage.
Due to its global aspect this operator should only appear in a diagram header block.

Usage

  \color_front(gray10);
  \color_front(100, 8, 58); % deep pink

Formal structure

  \color_front(COLOR);
  \color_front(RED, GREEN, BLUE);

Parameters

  COLOR
  Description    : Indicates the name of the front color. 
  Type           : Symbol.
  Allowed values : One of the predefined color name :
                   [black, gray10, gray20, gray30,
                    gray40, gray50, gray60, gray70,
                    gray80, gray90, white].

  RED
  Description    : Indicates the percentage of red in front color.
  Type           : Integer.
  Allowed values : Any integer in range [0, 100].

  GREEN
  Description    : Indicates the percentage of green in front color.
  Type           : Integer.
  Allowed values : Any integer in range [0, 100].

  BLUE
  Description    : Indicates the percentage of blue in front color.
  Type           : Integer.
  Allowed values : Any integer in range [0, 100].



Doodle reference manual HTML version generated using LaTeX2HTML by Jérôme Gout, 2001-10-29
Doodle is hosted by Sourceforge, go to SourceForge Logo for more information
©2000-2001 Doodle