| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.paulhertz.aifile.LineVertex
public class LineVertex
Stores a line vertex consisting of a single point.
| Field Summary | |
|---|---|
static int | 
segmentType
path segment type  | 
| Constructor Summary | |
|---|---|
LineVertex()
 | 
|
LineVertex(float x,
           float y)
 | 
|
| Method Summary | |
|---|---|
 LineVertex | 
clone()
 | 
 float[] | 
coords()
 | 
 void | 
draw(PApplet parent)
Draws a path to the display.  | 
 void | 
draw(PGraphics pg)
Draws a path to an offscreen buffer.  | 
 int | 
segmentType()
 | 
 void | 
setX(float newX)
 | 
 void | 
setY(float newY)
 | 
 void | 
write(PrintWriter output)
Writes a path segment to file.  | 
 float | 
x()
 | 
 float | 
y()
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int segmentType
| Constructor Detail | 
|---|
public LineVertex(float x,
                  float y)
public LineVertex()
| Method Detail | 
|---|
public float x()
x in interface Vertex2DINFpublic void setX(float newX)
public float y()
y in interface Vertex2DINFpublic void setY(float newY)
public int segmentType()
segmentType in interface Vertex2DINFpublic float[] coords()
coords in interface Vertex2DINFpublic LineVertex clone()
clone in interface Vertex2DINFclone in class Objectpublic void draw(PApplet parent)
Vertex2DINF
draw in interface Vertex2DINFparent - the PApplet that handles drawingpublic void draw(PGraphics pg)
Vertex2DINF
draw in interface Vertex2DINFpg - a PGraphics instancepublic void write(PrintWriter output)
Vertex2DINF
write in interface Vertex2DINFoutput - a PrintWriter for output to file
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||