Go to the first, previous, next, last section, table of contents.


Color and Pattern Library

Author(s): Isabel Martín García.

Version: 1.11#222 (2004/5/24, 13:8:7 CEST)

Version of last change: 1.9#156 (2003/12/4, 17:39:13 CET)

This module contains predicates to access and check conformance to the available colors and patterns.

Usage and interface (color_pattern)

Documentation on exports (color_pattern)

REGTYPE: color/1:

color(Color)

color('GreenYellow').
color('Yellow').
color('White').
color('Wheat').
color('BlueViolet').
color('Violet').
color('MediumTurquoise').
color('DarkTurquoise').
color('Turquoise').
color('Thistle').
color('Tan').
color('Sienna').
color('Salmon').
color('VioletRed').
color('OrangeRed').
color('MediumVioletRed').
color('IndianRed').
color('Red').
color('Plum').
color('Pink').
color('MediumOrchid').
color('DarkOrchid').
color('Orchid').
color('Orange').
color('Maroon').
color('Magenta').
color('Khaki').
color('Grey').
color('LightGray').
color('DimGray').
color('DarkSlateGray').
color('YellowGreen').
color('SpringGreen').
color('SeaGreen').
color('PaleGreen').
color('MediumSpringGreen').
color('MediumSeaGreen').
color('LimeGreen').
color('ForestGreen').
color('DarkOliveGreen').
color('DarkGreen').
color('Green').
color('Goldenrod').
color('Gold').
color('Brown').
color('Firebrick').
color('Cyan').
color('Coral').
color('SteelBlue').
color('SlateBlue').
color('SkyBlue').
color('Navy').
color('MidnightBlue').
color('MediumSlateBlue').
color('MediumBlue').
color('LightSteelBlue').
color('LightBlue').
color('DarkSlateBlue').
color('CornflowerBlue').
color('CadetBlue').
color('Blue').
color('Black').
color('MediumAquamarine').
color('Aquamarine').

Defines available colors for elements such as points, lines or bars.

PREDICATE: color/2:

Usage: color(C1, C2)

REGTYPE: pattern/1:

pattern(Pattern)

pattern(pattern1).
pattern(pattern2).
pattern(pattern3).
pattern(pattern4).
pattern(pattern5).
pattern(pattern6).
pattern(pattern7).
pattern(pattern8).
pattern(pattern9).

Defines valid patterns used in the stipple style bar attribute.

PREDICATE: pattern/2:

Usage: pattern(P1, P2)

PREDICATE: random_color/1:

random_color(Color)

This predicate choose a valid color among the availables randomly.

Usage:

PREDICATE: random_lightcolor/1:

random_lightcolor(Color)

This predicate choose a valid light color among the availables randomly.

Usage:

PREDICATE: random_darkcolor/1:

random_darkcolor(Color)

This predicate choose a valid dark color among the availables randomly.

Usage:

PREDICATE: random_pattern/1:

random_pattern(Pattern)

This predicate choose a valid pattern among the availables randomly.

Usage:


Go to the first, previous, next, last section, table of contents.