A C D F G H I J M P S T V

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 of diameter d with center at the turtle's position.
drawRect(double, double) - Method in class Turtle
Draw a rectangle of width w, height h with center at the turtle's position.

F

fillCircle(double) - Method in class Turtle
Fill a circle of diameter d with center at the turtle's position.
fillRect(double, double) - Method in class Turtle
Fill a rectangle of width w, height h with center at the turtle's position.
fillTriangle(double) - Method in class Turtle
Fill triangle with lower left point at the turtle position and side length s.

G

getAngle() - Method in class Turtle
= angle of the turtle (in degrees).
getColor() - Method in class Turtle
= the turtle's current color.
getCommands() - Static method in class Turtle
= all the turtle commands carried out since the last clear(), one to a line.
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 turtle.

H

h - Variable in class HSV
h, s, and v are the components of an HSV value
HSV - Class in <Unnamed>
An instance is an HSV value.
HSV(double, double, double) - Constructor for class HSV
Constructor: the tuple (h, s, v) Precondition: 0 ² h < 360, 0 ² s ² 1, 0 ² v ² 1.

I

intColor(int) - Static method in class Turtle
= the Color value for integer i.
isPenDown() - Method in class Turtle
= "the pen is down".

J

jumpTo(double, double, double) - Method in class Turtle
Move the turtle to (x,y), without drawing, and face it at angle ang --who ever heard of turtles jumping?

M

moveAhead(double) - Method in class Turtle
Move the turtle d units in its current direction.
moveBack(double) - Method in class Turtle
Move the turtle d units in the opposite (backward) direction.

P

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

S

s - Variable in class HSV
 
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 the panel size as big as possible in the current JFrame window.

T

toString() - Method in class HSV
= a representation of this HSV value.
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.

V

v - Variable in class HSV
 

A C D F G H I J M P S T V