A B C D E F G H L M P R S T

A

addElement(int, double, double, double, double) - Method in class TurtleBox
adds an element to the list
angle - Variable in class TurtleBox
 

B

backward(double) - Method in class TurtleBox
Moves the turtle by some pixels backwards

C

clear() - Method in class TurtleBox
Clear drawing surface (turtle remains at the same position)

D

drawThickLine(Graphics, double, double, double, double, int, Color) - Method in class TurtleBox
Method for drawing a thick line in Java.
drawTurtle(Graphics2D, Color, Color) - Method in class TurtleBox
Draws the turtle with given colors

E

elements - Variable in class TurtleBox
This data structure contains the different elements to move.

F

forward(double) - Method in class TurtleBox
Forward the turtle by some pixels

G

getAngle() - Method in class TurtleBox
Get the actual angle of the turtle (in degrees)
gotoXY(double, double) - Method in class TurtleBox
Positions the turtle to a given place

H

hideTurtle() - Method in class TurtleBox
Hides the turtle
home() - Method in class TurtleBox
Set turtle back to home position and orientation

L

left(double) - Method in class TurtleBox
Turns the turle left
LINE - Static variable in class TurtleBox
 

M

main(String[]) - Static method in class TurtleBox
The main entry point for executing this program.
MOVE - Static variable in class TurtleBox
 

P

paint(Graphics) - Method in class TurtleBox
Paints the box with stored elements
penDown() - Method in class TurtleBox
Takes the pen down (draw while moving)
penIsDown - Variable in class TurtleBox
 
penUp() - Method in class TurtleBox
Takes the pen up (move without drawing)

R

right(double) - Method in class TurtleBox
Turns the turle right

S

setAngle(double) - Method in class TurtleBox
Sets a new angle for the turtle (in degrees)
setSpeed(int) - Method in class TurtleBox
Sets the drawing speed to a value between 0 and 100
showTurtle() - Method in class TurtleBox
Shows the turtle
speed - Variable in class TurtleBox
 
surface - Variable in class TurtleBox
 

T

TurtleBox - Class in <Unnamed>
TurtleBox is a small class which implements a kind of "Logo".
TurtleBox(int, int) - Constructor for class TurtleBox
Constructs a new TurtleBox
turtleHidden - Variable in class TurtleBox
 
turtlePos - Variable in class TurtleBox
 

A B C D E F G H L M P R S T