SVGPolyLine

Part of wslib


see also: SVG, SVGFile


superclass : SVGPolyLine


The SVGPolygon contains data for a polygon. All methods and variables are the same as those for SVGPolyLine. The only difference is that when drawing the last point is connected to the first.


creation


SVGPolyLine ( points, name, strokeColor, fillColor, strokeWidth, transform )

creates a new object with the instance variables as described below and in the SVGObject helpfile


(

SVGPolygon( { |i| Polar( 200.rand, i*0.2pi ).asPoint + Point( 200, 200 )  } ! 10,  

"my polyline", "firebrick", "ivory", 2 ).plot;

)