Functiondojox.gfx.shape.Polyline.setShape

dojo.require("dojox.gfx.shape");
defined in dojox/gfx/shape.js

sets a polyline/polygon shape object

Usage

function (/*Object*/ points, /*Boolean*/ closed) (view source)
parametertypedescription
pointsObjecta polyline/polygon shape object
closedBooleanclose the polyline to make a polygon