RenderedImage (Java Platform SE 8 ) (original) (raw)
Modifier and Type
Method
Description
[WritableRaster](../../../java/awt/image/WritableRaster.html "class in java.awt.image")
[copyData](../../../java/awt/image/RenderedImage.html#copyData-java.awt.image.WritableRaster-)([WritableRaster](../../../java/awt/image/WritableRaster.html "class in java.awt.image") raster)
Computes an arbitrary rectangular region of the RenderedImage and copies it into a caller-supplied WritableRaster.
[ColorModel](../../../java/awt/image/ColorModel.html "class in java.awt.image")
[getColorModel](../../../java/awt/image/RenderedImage.html#getColorModel--)()
Returns the ColorModel associated with this image.
[Raster](../../../java/awt/image/Raster.html "class in java.awt.image")
[getData](../../../java/awt/image/RenderedImage.html#getData--)()
Returns the image as one large tile (for tile based images this will require fetching the whole image and copying the image data over).
[Raster](../../../java/awt/image/Raster.html "class in java.awt.image")
[getData](../../../java/awt/image/RenderedImage.html#getData-java.awt.Rectangle-)([Rectangle](../../../java/awt/Rectangle.html "class in java.awt") rect)
Computes and returns an arbitrary region of the RenderedImage.
int
[getHeight](../../../java/awt/image/RenderedImage.html#getHeight--)()
Returns the height of the RenderedImage.
int
[getMinTileX](../../../java/awt/image/RenderedImage.html#getMinTileX--)()
Returns the minimum tile index in the X direction.
int
[getMinTileY](../../../java/awt/image/RenderedImage.html#getMinTileY--)()
Returns the minimum tile index in the Y direction.
int
[getMinX](../../../java/awt/image/RenderedImage.html#getMinX--)()
Returns the minimum X coordinate (inclusive) of the RenderedImage.
int
[getMinY](../../../java/awt/image/RenderedImage.html#getMinY--)()
Returns the minimum Y coordinate (inclusive) of the RenderedImage.
int
[getNumXTiles](../../../java/awt/image/RenderedImage.html#getNumXTiles--)()
Returns the number of tiles in the X direction.
int
[getNumYTiles](../../../java/awt/image/RenderedImage.html#getNumYTiles--)()
Returns the number of tiles in the Y direction.
[Object](../../../java/lang/Object.html "class in java.lang")
[getProperty](../../../java/awt/image/RenderedImage.html#getProperty-java.lang.String-)([String](../../../java/lang/String.html "class in java.lang") name)
Gets a property from the property set of this image.
[String](../../../java/lang/String.html "class in java.lang")[]
[getPropertyNames](../../../java/awt/image/RenderedImage.html#getPropertyNames--)()
Returns an array of names recognized bygetProperty(String) or null
, if no property names are recognized.
[SampleModel](../../../java/awt/image/SampleModel.html "class in java.awt.image")
[getSampleModel](../../../java/awt/image/RenderedImage.html#getSampleModel--)()
Returns the SampleModel associated with this image.
[Vector](../../../java/util/Vector.html "class in java.util")<[RenderedImage](../../../java/awt/image/RenderedImage.html "interface in java.awt.image")>
[getSources](../../../java/awt/image/RenderedImage.html#getSources--)()
Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage.
[Raster](../../../java/awt/image/Raster.html "class in java.awt.image")
[getTile](../../../java/awt/image/RenderedImage.html#getTile-int-int-)(int tileX, int tileY)
Returns tile (tileX, tileY).
int
[getTileGridXOffset](../../../java/awt/image/RenderedImage.html#getTileGridXOffset--)()
Returns the X offset of the tile grid relative to the origin, i.e., the X coordinate of the upper-left pixel of tile (0, 0).
int
[getTileGridYOffset](../../../java/awt/image/RenderedImage.html#getTileGridYOffset--)()
Returns the Y offset of the tile grid relative to the origin, i.e., the Y coordinate of the upper-left pixel of tile (0, 0).
int
[getTileHeight](../../../java/awt/image/RenderedImage.html#getTileHeight--)()
Returns the tile height in pixels.
int
[getTileWidth](../../../java/awt/image/RenderedImage.html#getTileWidth--)()
Returns the tile width in pixels.
int
[getWidth](../../../java/awt/image/RenderedImage.html#getWidth--)()
Returns the width of the RenderedImage.