PolygonPlot.FillPolygons

Prototypes

void FillPolygons( <boolean bFill> )

Parameters

boolean bFill
If bFill is true, the interior of each polygon is filled. If bFill is false, the interior of each polygon is not filled. Calling this method without a parameter is equivalent to calling it with bFill equal to true.

Remarks

This method controls whether the interior of each polygon is filled. In order for the polygons to be filled, they must also be closed.

Example
x  = { 0, 1, 1, 0, 1.5, 2, 1 };
y  = { 0, 0, 1, 1, 1,   2, 2 };
id = { 1, 1, 1, 1, 2,   2, 2 };
declare PolygonPlot plot = PolygonPlot.Create( "Shapes", x, y, id );
plot.FillPolygons( false );
See Also

PolygonPlot.ClosePolygons