public abstract class Pic extends java.lang.Object implements Phenotype
A Pic represents an ordered list of drawing primitives, generally lines (the class Lin)
Pic = RECORD BasePtr: Ptr; MovePtr: LinPtr; Origin: Point; PicSize: Integer; PicPerson: person END;
Pic = record BasePtr: Ptr; MovePtr: LinPtr; Origin: Point; PicSize: INTEGER; PicPerson: person end;
Pic = RECORD BasePtr: Ptr; MovePtr: LinPtr; Origin: Point; PicSize: Integer; PicPerson: person END;
Modifier and Type | Field and Description |
---|---|
java.util.Vector<Lin> |
lines |
Morph |
morph |
static int |
PICSIZEMAX
PICSIZEMAX is 4 * 4095, which is 4 times the original (Pascal) value,
since the current implementation stores each component of a symmetry
separately, instead of calculating them as they're drawn.
|
Constructor and Description |
---|
Pic() |
Modifier and Type | Method and Description |
---|---|
void |
addLin(Lin lin) |
Rect |
getMargin() |
int |
size() |
java.lang.String |
toString() |
void |
zero() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBackgroundColor
public static final int PICSIZEMAX
public java.util.Vector<Lin> lines
public Morph morph
public void addLin(Lin lin)
public java.lang.String toString()
toString
in class java.lang.Object