FILREP

Associates a bundle of fill attributes with an index
Operating state: GKOP, SGOP, WSAC, WSOP
Default: none

Syntax

return-code-variable=GSET('FILREP', index, color-index, interior, style-index);

Required Arguments

index
numeric constant or numeric variable name; indicates the index to be used with the bundle. Valid values are 1 to 20, inclusive. If index is expressed as a variable, the variable name must be initialized to a value between 1 and 20.
color-index
numeric constant or numeric variable name; indicates the index of the color to be used. Valid values are 1 to 256, inclusive. The color index should represent one of the following:
  • a color index assigned with the GSET('COLREP', . . . ) function
  • the nth color in the color list of the COLORS= graphics option
  • the nth color in the device's default color list
interior
character string enclosed in quotation marks or character variable name; indicates the type of interior. Valid values are as follows:
  • HATCH
  • HOLLOW
  • PATTERN
  • SOLID
style-index
numeric constant or numeric variable name; indicates the index of the style to be used. Valid values are 1 to 15, inclusive, when FILTYPE is PATTERN, or 1 to 60, inclusive, when FILTYPE is HATCH. See the Style Index Table for a table of the patterns used for each style index. If interior is HOLLOW or SOLID, style-index is ignored.

Return Codes

This function returns:

Details

The GSET('FILREP', . . . ) function assigns a color, type of interior, and style of the interior to a specific fill bundle. To use the bundled values when the affected graphics element is drawn; the aspect source flag (ASF) for FILCOLOR, FILTYPE, and FILSTYLE must be set to 'BUNDLED'.