Class:            DisplayPolyline

Environment:      Siren
Superclass:         Siren.DisplayRectangle
Category:         MusicUI-DisplayLists
Instance variables:   vertices

A DisplayPolyline is a poly-line-segment display object

Instance Variables:
   vertices    my point array

accessing

bounds
   Answer the receiver's bounds.

extent
   Answer the receiver's extent.

vertices: pointArray
   Set the receiver's vertices.

transforming

scaledBy: aPoint
   Scale all the receiver's points by the argument; answer a copy.

displaying

displayOn: aGraphicsContext
   Stroke the receiver's edges on the supplied GraphicsContext.

MetaClass:         DisplayPolyline class

instance creation

offset: offPt vertices: arrayOfPoints
   Answer a new DisplayPolyline with the arguments as its vertices.

vertices: arrayOfPoints
   Answer a new DisplayPolyline with the arguments as its vertices.

examples

polylineExample
   Open a display list view with randomly-placed random-color polylines over the given extent.