Draws the image in the specified graphics context.
Draws the image in the specified graphics context.
the graphics context
the width to draw the image in
the height to draw the image in
whether the image has been completely drawn, or whether pixels are still changing
Gets the color at the specified pixel.
Gets the color at the specified pixel.
the pixel X-coordinate
the pixel Y-coordinate
the color at the pixel
The height of the image, in pixels.
Produces a new image with the current image's picture data scaled to the new width and height.
Produces a new image with the current image's picture data scaled to the new width and height. Bilinear interpolation will be used in forming the scaled image.
the width of the new scaled image
the height of the new scaled image
the new scaled image
Samples a pixel from the texture using bilinear filtering.
Sets the color at the specified pixel.
Sets the color at the specified pixel.
the pixel X-coordinate
the pixel Y-coordinate
the color to set at the pixel
The width of the image, in pixels.
Writes the image to a PNG file.
Writes the image to a PNG file.
the name of the image file, preferably ending in ".png"
whether the write succeeded
A wrapper around Java's BufferedImage that provides texture-specific functionality, such as bilinear filtering and coordinate flipping.