Colors

  1. ColorScheme

    Each page can specify a set of colors to be used for text, link text, hilighted link text, and background. For each distinct set of colors, a unique ColorScheme object is created. These are managed through static methods of the ColorScheme class.

  2. ScaledColorScheme

    Before a ColorScheme can be used, a scale factor must be specified as well. The result is a ScaledColorScheme object. For each distinct ColorScheme and scale factor, a unique ScaledColorScheme object is created. These are managed through static methods of the ScaledColorScheme class.

  3. A ScaledColorScheme object can be used to obtain a java.awt.image.ColorModel object for use in creating Image objects from arrays of bytes. This is used when creating CharacterView objects from ScaledCharacter objects.

  4. A ScaledColorScheme object can be used to obtain a java.awt.Color object for a given intensity level. Intensity levels range from 0 to scale^2. This is used by RuleView (notice that rules are not drawn at full intensity if they don't cover a whole pixel).