|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Vertex2DINF
Interface for line and curve vertices. TODO provide drawing commands for display of anchor points and direction points
| Method Summary | |
|---|---|
Vertex2DINF |
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 |
write(PrintWriter output)
Writes a path segment to file. |
float |
x()
|
float |
y()
|
| Method Detail |
|---|
float x()
float y()
int segmentType()
float[] coords()
Vertex2DINF clone()
void draw(PApplet parent)
parent - the PApplet that handles drawingvoid draw(PGraphics pg)
pg - a PGraphics instancevoid write(PrintWriter output)
output - a PrintWriter for output to file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||