constructor

This method is invoked once on construction of new instance.

Example:

% obj constructor morph {x0 y0 x1 y1 x2 y2 x3 y3} {
  $self private start [new line -coords "$x0 $y0 $x1 $y1"]
  $self private end [new line -coords "$x2 $y2 $x3 $y3"]
  $self private line [new line]
}
constructor morph
%

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z