Functiondojox.gfx.Polyline.setShape

sets a polyline/polygon shape object (Silverlight)

Usage

function (/*Object*/ points, /*Boolean?*/ closed)
parametertypedescription
pointsObjecta polyline/polygon shape object
closedBooleanOptional. if true, close the polyline explicitely