public class TurtleFactory
extends java.lang.Object
| Constructor and Description |
|---|
TurtleFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Image |
turtleImage(java.awt.Color color,
double angle,
int width,
int height)
Generates the shape of the turtle with given color,
angle (in radian, zero to east, counterclockwise), width and height
in pixels.
|