verticesAt:put:
allows you to directly change the points in a LineMorph
:
line := LineMorph new.
line verticesAt: 1 put: 0@0.
line verticesAt: 2 put: 100@50.
or use the #vertices:color:borderWidth:borderColor:
class-side method:
LineMorph
vertices: (Array with: 0@0 with: 100@50)
color: Color transparent
borderWidth: 1
borderColor: Color black