B C D G L M O P R S T W Y

B

BLACK - Static variable in class Picture.Color
 
BLUE - Static variable in class Picture.Color
 

C

CYAN - Static variable in class Picture.Color
 

D

DARK_GRAY - Static variable in class Picture.Color
 
draw() - Method in class Picture
Shows this picture on the canvas.

G

getBlue() - Method in class Picture.Color
Gets the blue value of this color.
getColorAt(int) - Method in class Picture
Gets the color of a pixel.
getColorAt(int, int) - Method in class Picture
Gets the color of a pixel.
getGreen() - Method in class Picture.Color
Gets the green value of this color.
getHeight() - Method in class Picture
Gets the height of this picture.
getInstance() - Static method in class Picture.Canvas
 
getRed() - Method in class Picture.Color
Gets the red value of this color.
getWidth() - Method in class Picture
Gets the width of this picture.
getX() - Method in class Picture
Gets the leftmost x-position of the shape.
getY() - Method in class Picture
Gets the topmost y-position of the shape.
GRAY - Static variable in class Picture.Color
 
GREEN - Static variable in class Picture.Color
 
grow(double, double) - Method in class Picture
Resizes this picture both horizontally and vertically.

L

LIGHT_GRAY - Static variable in class Picture.Color
 
load(String) - Method in class Picture
Loads a new image from a given file or URL.

M

MAGENTA - Static variable in class Picture.Color
 
main(String[]) - Static method in class PictureDemo
 

O

ORANGE - Static variable in class Picture.Color
 

P

paintShape(Graphics2D) - Method in class Picture
Draws this shape.
pause() - Method in class Picture.Canvas
Pauses so that the user can see the picture before it is transformed.
pause() - Method in class Picture
Pauses so that one can look at the picture.
pick() - Method in class Picture
Displays a file chooser for picking a file, loads the picture from the file that the user selected, and pauses so that the user can see the loaded picture.
Picture - Class in <Unnamed>
A picture from an image file.
Picture() - Constructor for class Picture
Constructs a picture with no image.
Picture(String) - Constructor for class Picture
Constructs an image from a given file or URL.
Picture.Canvas - Class in <Unnamed>
 
Picture.Color - Class in <Unnamed>
 
Picture.Color(double, double, double) - Constructor for class Picture.Color
Constructs a new Color object.
PictureDemo - Class in <Unnamed>
 
PictureDemo() - Constructor for class PictureDemo
 
PINK - Static variable in class Picture.Color
 
pixels() - Method in class Picture
The number of pixels in this picture.

R

RED - Static variable in class Picture.Color
 
repaint() - Method in class Picture.Canvas
 

S

setColorAt(int, Picture.Color) - Method in class Picture
Sets the color of a pixel.
setColorAt(int, int, Picture.Color) - Method in class Picture
Sets the color of a pixel.
show(Picture) - Method in class Picture.Canvas
 

T

translate(double, double) - Method in class Picture
Moves this picture by a given amount.

W

WHITE - Static variable in class Picture.Color
 

Y

YELLOW - Static variable in class Picture.Color
 

B C D G L M O P R S T W Y