void ClosePolygons( <boolean bClose> )
boolean bClose
If bClose is true, the first and last coordinate pairs of each polygon are connected with a line segment. If bClose is false, the first and last coordinate
pairs of each polygon are not connected with a line segment. Calling this method without a parameter is equivalent to calling it with bClose equal to true.
This method controls whether the first and last coordinate pairs of each polygon are connected with a line segment.
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.ClosePolygons( false );