Previous Page | Next Page

Annotate Dictionary

%POLY, %POLY2 Macro



Begins drawing a polygon at the specified coordinates and determines the color, fill pattern, and line type of the polygon.
Variables written out: FUNCTION, COLOR, LINE, STYLE, X, Y,
Prerequisite: You must run the %ANNOMAC macro before using any other annotate macros. For more information, see Making the Macros Available.

Syntax
See Also

Syntax

%POLY (x, y, color, style, line);
%POLY2(x, y, color, style, line, width);

x, y

specify the starting point for a new polygon. Values can be numeric coordinates, numeric constants, or numeric variables. For details, see the Annotate or the names of the Annotate variables X Variable.

color

specifies the optional polygon fill color using a character string without quotation marks. For valid values, see the Annotate COLOR Variable. Use an asterisk (*) to specify the previous value of the color parameter. To specify the color of the polygon outline, see the %POLYCONT Macro.

style

specifies the fill pattern for the polygon, using a character string without quotation marks. For valid values, see the Annotate STYLE Variable (Patterns) for the POLY function.

line

specifies the polygon's line type, which can be continuous or segmented. The value can be a number, a numeric constant, or a numeric variable. For valid values, see the Annotate LINE Variable for the POLY function.

width

specifies the width of the polygon's outline and optional fill lines. The value can be a number, a numeric constant, or a numeric variable. For details and valid values, see the Annotate SIZE Variable for the POLY function.


See Also

POLY Function

Previous Page | Next Page | Top of Page