|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.aplu.turtle.LineRenderer
public class LineRenderer
This class is responsible for drawing the turtle's lines.
Method Summary | |
---|---|
void |
init(double x,
double y)
Initialisation with coordinates x and
y . |
void |
init(java.awt.geom.Point2D.Double p)
Same as init(double x, double y), but with a Point2D.Double argument for convenience |
void |
lineTo(double x,
double y)
Calls the internalLineTo(x,y), which does the actual painting. |
void |
lineTo(java.awt.geom.Point2D.Double p)
Calls the internalLineTo(x,y), which does the actual painting. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void init(double x, double y)
x
and
y
.
public void init(java.awt.geom.Point2D.Double p)
public void lineTo(double x, double y)
public void lineTo(java.awt.geom.Point2D.Double p)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |