Squeak Class Documentation category index | class index  
 
LineMorph
  category: Morphic-Basic
  superclass: PolygonMorph
  subclasses:

This is really only a shell for creating single-segment straight-line Shapes.

instance methods
  parts bin
 

class methods
  as yet unclassified
  from:to:color:width:
new

  parts bin
  descriptionForPartsBin
newStandAlone

instance methods
  parts bin top  

class methods
  as yet unclassified top  
 

from:to:color:width:


 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.


  parts bin top  
 

descriptionForPartsBin

If the receiver is a member of a class that would like to be represented in a parts bin, answer the name by which it should be known, and a documentation string to be provided, for example, as balloon help. When the 'nativitySelector' is sent to the 'globalReceiver', it is expected that some kind of Morph will result. The parameters used in the implementation below are for documentation purposes only!


 

newStandAlone

Answer a suitable instance for use in a parts bin, for example