A B C D E F G H I J L M N O P R S T U V X Y

D

DEFAULT_COLOR - Static variable in class galapagos.Turtle
Default color used in drawing
DEFAULT_COLOR - Static variable in class galapagos.TurtleShape
The default color of this body shape
DEFAULT_PENSIZE - Static variable in class galapagos.Turtle
Default pen size used in drawing
DEFAULT_SPEED - Static variable in class galapagos.Turtle
Default speed of this turtle; unit is logical units/sec
DEFAULT_UNIT - Variable in class galapagos.DrawingCanvas
A class constant for the scaling factor, # of pixels per logical unit.
degree - Variable in class galapagos.TurnCommand
 
draw(double) - Method in class galapagos.Turtle
Draws this turtle's trajectory for a specified length.
drawAxis(Graphics) - Method in class galapagos.DrawingCanvas
Draws the X and Y axis in black if the grid lines are shown and in gray if the no grid lines are shown.
drawContents(Graphics) - Method in class galapagos.DrawingCanvas
Asks the owner DrawingController objects to draw their contents
drawers - Variable in class galapagos.DrawingCanvas
An array of objects that implements DrawingController interface.
drawGrid - Variable in class galapagos.DrawingCanvas
Set to true to draw grid lines.
drawGrids(Graphics) - Method in class galapagos.DrawingCanvas
Draws the grid lines in cyan.
DrawingCanvas - Class in galapagos
Generic Canvas descendant object for drawing lines.
DrawingCanvas() - Constructor for class galapagos.DrawingCanvas
A default constructor that creates an instance of the PlottingCanvas class.
DrawingController - Interface in galapagos
Any class that wants to draw something on a DrawingCanvas must implement this interface.
drawPolygon(Graphics, Polygon, Color) - Method in class galapagos.DrawingCanvas
Draws the polygon in the specified color on Graphics g
drawShape(double) - Method in class galapagos.Turtle
Draw the turtle shape facing the given orientation
drawText(Graphics, Color, int, Position, String) - Method in class galapagos.DrawingCanvas
Draws the text on the Graphics g in the specified color with pensize thickness at position location.
drawText(String) - Method in class galapagos.Turtle
Draws the specified text at the current position of the turtle.
DrawTextCommand - Class in galapagos
 
DrawTextCommand(Turtle, String, Position) - Constructor for class galapagos.DrawTextCommand
 
drawTextMemory(String, Position) - Method in class galapagos.Turtle
Draws text specified by the DrawTextCommand command in the memory

A B C D E F G H I J L M N O P R S T U V X Y