- getAlpha() - Method in class Pixel
-
Method to get the amount of alpha (transparency) at this pixel.
- getAverage() - Method in class Pixel
-
Method to get the average of the colors of this pixel
- getBasicPixel(int, int) - Method in class SimplePicture
-
Method to return the pixel value as an int for the given x and y location
- getBlue() - Method in class Pixel
-
Method to get the amount of blue at this pixel.
- getBlue(int) - Static method in class Pixel
-
Method to get the blue value from a pixel represented as an int
- getBufferedImage() - Method in class SimplePicture
-
Method to get the buffered image
- getColor(Pixel, int) - Static method in class Picture
-
Gets the value of the color corresponding to colorNum.
- getColor() - Method in class Pixel
-
Method to get a color object that represents the color at this pixel.
- getExtension() - Method in class SimplePicture
-
Method to get the extension for this picture
- getFileName() - Method in class SimplePicture
-
Method to get the file name associated with the picture
- getGraphics() - Method in class SimplePicture
-
Method to get a graphics object for this picture to use to draw on
- getGreen() - Method in class Pixel
-
Method to get the amount of green at this pixel.
- getGreen(int) - Static method in class Pixel
-
Method to get the green value from a pixel represented as an int
- getHeight() - Method in class SimplePicture
-
Method to get the height of the picture in pixels
- getImage() - Method in class SimplePicture
-
Method to get an image from the picture
- getMediaDirectory() - Static method in class FileChooser
-
Method to get the directory for the media
- getMediaPath(String) - Static method in class FileChooser
-
Method to get the full path for the passed file name
- getMediaPath(String) - Static method in class SimplePicture
-
Method to get the directory for the media
- getMostCommonColorInRange(int) - Method in class Pixel
-
Method to return the most common color in the given
range from the current pixel in the picture or just
return this color.
- getPictureFrame() - Method in class SimplePicture
-
Method to get the picture frame for the picture
- getPictureWithHeight(int) - Method in class SimplePicture
-
Method to create a new picture of the passed height.
- getPictureWithWidth(int) - Method in class SimplePicture
-
Method to create a new picture of the passed width.
- getPixel(int, int) - Method in class SimplePicture
-
Method to get a pixel object for the given x and y location
- getPixels() - Method in class SimplePicture
-
Method to get a one-dimensional array of Pixels for this simple picture
- getRed() - Method in class Pixel
-
Method to get the amount of red at this pixel.
- getRed(int) - Static method in class Pixel
-
Method to get the red value from a pixel represented as an int
- getTitle() - Method in class SimplePicture
-
Method to get the title of the picture
- getTransformEnclosingRect(AffineTransform) - Method in class SimplePicture
-
Method to get the coordinates of the enclosing rectangle after this
transformation is applied to the current picture
- getWidth() - Method in class SimplePicture
-
Method to get the width of the picture in pixels
- getX() - Method in class Pixel
-
Method to get the x location of this pixel.
- getY() - Method in class Pixel
-
Method to get the y location of this pixel.
- grayscaleWithLuminance() - Method in class Picture
-
Method to change the picture to gray scale with luminance
- pickADirectory() - Static method in class FileChooser
-
Method to let the user pick a directory and return
the full path name as a string.
- pickAFile() - Static method in class FileChooser
-
Method to let the user pick a file and return
the full file name as a string.
- pickAndShow() - Static method in class Picture
-
Class method to let the user pick a file name and then create the picture
and show it
- pickMediaPath() - Static method in class FileChooser
-
Method to pick a media path using
the file chooser and set it
- pickPath(JFileChooser) - Static method in class FileChooser
-
Method to pick an item using the file chooser
- Picture - Class in <Unnamed>
-
A class that represents a picture.
- Picture() - Constructor for class Picture
-
Constructor that takes no arguments
- Picture(String) - Constructor for class Picture
-
Constructor that takes a file name and creates the picture
- Picture(int, int) - Constructor for class Picture
-
Constructor that takes the width and height
- Picture(Picture) - Constructor for class Picture
-
Constructor that takes a picture and creates a
copy of that picture
- Picture(BufferedImage) - Constructor for class Picture
-
Constructor that takes a buffered image
- Pixel - Class in <Unnamed>
-
Class that references a pixel in a picture.
- Pixel(DigitalPicture, int, int) - Constructor for class Pixel
-
A constructor that take the x and y location for the pixel and
the picture the pixel is coming from
- scale(double) - Method in class Picture
-
Method to scale the picture by a factor, and return the result
- scale(double, double) - Method in class SimplePicture
-
Method to create a new picture by scaling the current
picture by the given x and y factors
- setAllPixelsToAColor(Color) - Method in class SimplePicture
-
Method to set the color in the picture to the passed color
- setAlpha(int) - Method in class Pixel
-
Method to set the alpha (transparency) to a new alpha value
- setBasicPixel(int, int, int) - Method in class SimplePicture
-
Method to set the value of a pixel in the picture from an int
- setBlue(int) - Method in class Pixel
-
Method to set the blue to a new blue value
- setColor(Pixel, int, int) - Static method in class Picture
-
Sets the value of the color corresponding to colorNum to newValue.
- setColor(Color) - Method in class Pixel
-
Method to set the pixel color to the passed in color object.
- setFileName(String) - Method in class SimplePicture
-
Method to set the file name
- setGreen(int) - Method in class Pixel
-
Method to set the green to a new green value
- setMediaPath(String) - Static method in class FileChooser
-
Method to set the media path by setting the directory to use
- setMediaPath(String) - Static method in class SimplePicture
-
Method to set the media path by setting the directory to use
- setPictureFrame(PictureFrame) - Method in class SimplePicture
-
Method to set the picture frame for this picture
- setRed(int) - Method in class Pixel
-
Method to set the red to a new red value
- setTitle(String) - Method in class SimplePicture
-
Method to set the title for the picture
- setVisible(boolean) - Method in class SimplePicture
-
Method to make this picture visible or not
- show() - Method in class SimplePicture
-
Method to show the picture in a picture frame
- showNamed(String) - Static method in class Picture
-
Class method to create a picture object from the passed file name and
then show it
- SimplePicture - Class in <Unnamed>
-
A class that represents a simple picture.
- SimplePicture() - Constructor for class SimplePicture
-
A Constructor that takes no arguments.
- SimplePicture(String) - Constructor for class SimplePicture
-
A Constructor that takes a file name and uses the file to create
a picture
- SimplePicture(int, int) - Constructor for class SimplePicture
-
A constructor that takes the width and height desired for a picture and
creates a buffered image of that size.
- SimplePicture(int, int, Color) - Constructor for class SimplePicture
-
A constructor that takes the width and height desired for a picture and
creates a buffered image of that size.
- SimplePicture(SimplePicture) - Constructor for class SimplePicture
-
A Constructor that takes a picture to copy information from
- SimplePicture(BufferedImage) - Constructor for class SimplePicture
-
A constructor that takes a buffered image