Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
L
M
N
O
P
R
S
T
W
Y
A
arc(double, double, double, double, double)
- Method in class
GenDraw
Draw an arc of radius r, centered on (x, y), from angle1 to angle2 (in degrees).
B
BLACK
- Static variable in class
GenDraw
BLUE
- Static variable in class
GenDraw
C
circle(double, double, double)
- Method in class
GenDraw
Draw circle of radius r, centered on (x, y); degenerate to pixel if small
clear()
- Method in class
GenDraw
Clear the screen with the default color, white
clear(Color)
- Method in class
GenDraw
Clear the screen with the given color.
clipStringXaxis(String, double, double, double)
- Method in class
GenDraw
Clip a string to fit within a specified percentage of the range min..max along the x-axis.
clipStringYaxis(String, double, double, double)
- Method in class
GenDraw
Clip a string to fit within a specified percentage of the range min..max along the y-axis.
CYAN
- Static variable in class
GenDraw
D
DARK_GRAY
- Static variable in class
GenDraw
F
filledCircle(double, double, double)
- Method in class
GenDraw
Draw filled circle of radius r, centered on (x, y); degenerate to pixel if small
filledPolygon(double[], double[])
- Method in class
GenDraw
Draw a filled polygon with the given (x[i], y[i]) coordinates
filledSquare(double, double, double)
- Method in class
GenDraw
Draw a filled square of side length 2r, centered on (x, y); degenerate to pixel if small
G
GenDraw
- Class in
<Unnamed>
Generalized draw
.
GenDraw(String)
- Constructor for class
GenDraw
Construct a GenDraw canvas with the specified title.
GenDraw()
- Constructor for class
GenDraw
Construct a GenDraw canvas.
getImage(String)
- Method in class
GenDraw
Drawing images.
GRAY
- Static variable in class
GenDraw
GREEN
- Static variable in class
GenDraw
H
hasNextKeyTyped()
- Method in class
GenDraw
Has the user typed a key?
L
LIGHT_GRAY
- Static variable in class
GenDraw
line(double, double, double, double)
- Method in class
GenDraw
Draw a line from (x0, y0) to (x1, y1)
M
MAGENTA
- Static variable in class
GenDraw
main(String[])
- Static method in class
GenDraw
mouseX()
- Method in class
GenDraw
Where is the mouse?
mouseY()
- Method in class
GenDraw
Where is the mouse?
N
nextKeyTyped()
- Method in class
GenDraw
What is the next key that was typed by the user?
O
ORANGE
- Static variable in class
GenDraw
P
picture(double, double, String)
- Method in class
GenDraw
Draw picture (gif, jpg, or png) centered on (x, y).
picture(double, double, String, double)
- Method in class
GenDraw
Draw picture (gif, jpg, or png) centered on (x, y), rotated given number of degrees
picture(double, double, String, double, double)
- Method in class
GenDraw
Draw picture (gif, jpg, or png) centered on (x, y).
picture(double, double, String, double, double, double)
- Method in class
GenDraw
Draw picture (gif, jpg, or png) centered on (x, y), rotated given number of degrees, rescaled to w-by-h.
PINK
- Static variable in class
GenDraw
pixel(double, double)
- Method in class
GenDraw
Draw one pixel at (x, y)
point(double, double)
- Method in class
GenDraw
Draw a point at (x, y)
polygon(double[], double[])
- Method in class
GenDraw
Draw a polygon with the given (x[i], y[i]) coordinates
R
RED
- Static variable in class
GenDraw
rotText(double, double, double, String)
- Method in class
GenDraw
Write the given text string in the current font, center on (x, y) and rotate by the specified number of degrees.
S
save(String)
- Method in class
GenDraw
Save to file - suffix must be png, jpg, or gif.
setCanvasSize(int, int)
- Method in class
GenDraw
Set the window size to w-by-h pixels
setFont()
- Method in class
GenDraw
Set the font to be the default for all string writing
setFont(Font)
- Method in class
GenDraw
Set the font as given for all string writing
setPenColor()
- Method in class
GenDraw
Set the pen color to the default which is BLACK.
setPenColor(Color)
- Method in class
GenDraw
Set the pen color to the given color.
setPenRadius()
- Method in class
GenDraw
Set the pen size to the default
setPenRadius(double)
- Method in class
GenDraw
Set the pen size to the given size
setXscale()
- Method in class
GenDraw
Set the X scale to be the default
setXscale(double, double)
- Method in class
GenDraw
Set the X scale (a border is added to the values)
setYscale()
- Method in class
GenDraw
Set the Y scale to be the default
setYscale(double, double)
- Method in class
GenDraw
Set the Y scale (a border is added to the values)
show(int)
- Method in class
GenDraw
Display on screen and pause for t milliseconds.
show()
- Method in class
GenDraw
Display on-screen; calling this method means that the screen WILL be redrawn after each line(), circle(), or square().
square(double, double, double)
- Method in class
GenDraw
Draw squared of side length 2r, centered on (x, y); degenerate to pixel if small
T
text(double, double, String)
- Method in class
GenDraw
Write the given text string in the current font, center on (x, y).
W
WHITE
- Static variable in class
GenDraw
Y
YELLOW
- Static variable in class
GenDraw
A
B
C
D
F
G
H
L
M
N
O
P
R
S
T
W
Y
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes