The FILL and EDGE options control the filling and edging of an area defined by the following statements: PLOT, IPLOT, RPLOT, POLYGON, RECTANGLE, or SYMBOL. If the FILL option is specified, the area is filled with the current area fill color and style. If the EDGE option is specified, the area is edged with the current line type and pen color. When both are specified the area is both filled and edged. If neither are specified, the area is just edged with the current line type and pen color.
The following program shows the effect that the FILL and EDGE options have on an area. To see their effect change line 50 to include the EDGE and then both the FILL and EDGE options.
10 GINIT
20 AREA PEN 2
30 LINE TYPE 4
40 MOVE 50,50
50 RECTANGLE 10,10, FILL
60 END
|