Go to the first, previous, next, last section, table of contents.
Author(s): Montserrat Urraca.
Version: 1.10#7 (2006/4/26, 19:22:13 CEST)
Version of last change: 1.9#187 (2003/12/10, 21:19:39 CET)
- Library usage:
:- use_module(library(poly_class)).
- Exports:
- Predicates:
vertices/1
,
outline_color/1
.
- Other modules used:
- System library modules:
objects/objects_rt
,
lists
.
- PREDICATE: vertices/1:
-
Usage 1: vertices(+ListofPoints)
- Description: The arguments of the list specify the coordinates for three or more points that define a closed polygon. The first and last points may be the same. After the coordinates there may be any number of option-value pairs, each of which sets one of the configu- ration options for the item.
- Call and exit should be compatible with:
+ListofPoints
is a list.
(basic_props:list/1
)
Usage 2: vertices(-ListofPoints)
- Description: Gets the list of vertices of the polygon.
- Call and exit should be compatible with:
-ListofPoints
is a list.
(basic_props:list/1
)
- PREDICATE: outline_color/1:
-
Usage 1: outline_color(+Color)
- Description:
Color
specifies the color to be used for drawing the polygon's outline. This option defaults to black.
- Call and exit should be compatible with:
+Color
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 2: outline_color(-Color)
- Description: Gets poly's outline
Color
.
- Call and exit should be compatible with:
-Color
is currently instantiated to an atom.
(term_typing:atom/1
)
Go to the first, previous, next, last section, table of contents.