A C D F G H I J M P R 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
The hue.
HSV - Class in <Unnamed>
An instance is an immutable HSV value.
HSV(double, double, double) - Constructor for class HSV
Constructor: the HSV triple (h mod 360, s, v) Precondition: 0 <= h, 0 <= s <= 1, 0 <= v <= 1.
HSVtoRGB() - Method in class HSV
= this color in RGB color space formulae from http://en.wikipedia.org/wiki/HSV_color_space

I

isPenUp() - Method in class Turtle
= "the pen is up".

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.

R

RGBtoHSV(Color) - Static method in class HSV
= color rgb in HSV color space.

S

s - Variable in class HSV
The saturation.
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
The value.

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