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.
color_pattern
)color_pattern
)
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.
Usage: color(C1, C2)
C1
is a valid color or not. If C1
is a variable the predicate will choose a valid color randomly. If C1
is a ground term that is not a valid color an exception (error9) will be thrown
color_pattern:color(C1)
(color_pattern:color/1
)
color_pattern:color(C2)
(color_pattern:color/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.
Usage: pattern(P1, P2)
P1
is a valid pattern or not. If P1
is a variable the predicate will choose a valid pattern randomly. If P1
is a ground term that is not a valid pattern an exception (error10) will be thrown.
color_pattern:pattern(P1)
(color_pattern:pattern/1
)
color_pattern:pattern(P2)
(color_pattern:pattern/1
)
random_color(Color)
This predicate choose a valid color among the availables randomly.
Usage:
color_pattern:color(Color)
(color_pattern:color/1
)
random_lightcolor(Color)
This predicate choose a valid light color among the availables randomly.
Usage:
Color
is a free variable.
(term_typing:var/1
)
color_pattern:color(Color)
(color_pattern:color/1
)
random_darkcolor(Color)
This predicate choose a valid dark color among the availables randomly.
Usage:
Color
is a free variable.
(term_typing:var/1
)
color_pattern:color(Color)
(color_pattern:color/1
)
random_pattern(Pattern)
This predicate choose a valid pattern among the availables randomly.
Usage:
Pattern
is a free variable.
(term_typing:var/1
)
color_pattern:pattern(Pattern)
(color_pattern:pattern/1
)
Go to the first, previous, next, last section, table of contents.