A C D F G H L M P S T W

A

addAngle(double) - Method in class Turtle
Add ang degrees to the angle.

C

clear() - Method in class Turtle
Clear the screen (make it all white).

D

drawCircle(double) - Method in class Turtle
Draw a circle with center at current pen position of diameter d.
drawRectangle(double, double) - Method in class Turtle
Draw a rectangle with center at current pen position of width w, height h.

F

fillCircle(double) - Method in class Turtle
Fill a circle with center at current pen position of diameter d.
fillRectangle(double, double) - Method in class Turtle
Fill a rectangle with center at current pen position of width w, height h.

G

getAngle() - Method in class Turtle
= angle of the turtle (in degrees).
getColor() - Method in class Turtle
= the current color.
getHeight() - Method in class Turtle
= height of the panel.
getWidth() - Method in class Turtle
= width of panel.
getX() - Method in class Turtle
= x-coordinate of the turtle.
getY() - Method in class Turtle
= y-coordinate of the panel.

H

height - Static variable in class Turtle
The panel on which the turtle moves is of size (width, height).

L

liftPen() - Method in class Turtle
Lift pen.

M

move(double) - Method in class Turtle
Move the turtle d units in its current direction.
moveTo(double, double, double) - Method in class Turtle
Move the turtle to (x,y), without drawing, and face it at angle ang.

P

pause(int) - Method in class Turtle
Pause the program for msec milliseconds.
putPenDown() - Method in class Turtle
Put pen down.

S

setAngle(double) - Method in class Turtle
Set the angle to ang degrees.
setColor(Color) - Method in class Turtle
Set the color of the turtle to c.
setPanelSize() - Method in class Turtle
Set panel size as big as possible in the current window.

T

tColor(int) - Static method in class Turtle
= the Color value for c.
Turtle - Class in <Unnamed>
An instance is a turtle in a panel within a JFrame.
Turtle() - Constructor for class Turtle
Constructor: a black turtle starting at the middle of the panel with angle 0 (looking east).
Turtle(double, double, double) - Constructor for class Turtle
Constructor: a black turtle starting at (x,y) with angle ang.

W

width - Static variable in class Turtle
The panel on which the turtle moves is of size (width, height).

A C D F G H L M P S T W