- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ColourLin, MonoLin
public class Lin
extends java.lang.Object
implements java.lang.Cloneable
Represents a drawing primitive used to draw a biomorph, capable of
rendering any of the classic version biomorphs.
Monochrome
Monochrome Biomorphs are drawn using the most basic shape, Stick.
Thickness is variable on a per-Lin basis: each Lin in Monochrome has
its own thickness, unlike Colour, where (in the original) every Lin is drawn with the
"thickness gene" of the biomorph.
Colour
Colour Biomorphs adds two shape types, Oval and Rectangle, and
has two shape fill modes, Open and Filled. A primary color is added.
The same color is used for both shape outline tracing and fill. Thickness
is also on a per-Lin basis, as in Monochrome above, even though in
classic Colour Biomorphs, all Lins are drawn with the value
of the thickness gene.
Snails
Arthromorphs
Arthromorphs adds the complexity of an alternate fill color to the
outline color. If this property is null, drawing routines should
default to the primary color of the Lin.
- Author:
- sven