Lines Matching defs:image

26 package java.awt.image;
43 import sun.awt.image.BytePackedRaster;
44 import sun.awt.image.ShortComponentRaster;
45 import sun.awt.image.ByteComponentRaster;
46 import sun.awt.image.IntegerComponentRaster;
47 import sun.awt.image.OffScreenImageSource;
52 * java.awt.Image Image} with an accessible buffer of image data.
54 * {@link Raster} of image data.
90 * image. This type is only used as a return value for the getType()
96 * Represents an image with 8-bit RGB color components packed into
97 * integer pixels. The image has a {@link DirectColorModel} without
100 * in an image of this type,
109 * Represents an image with 8-bit RGBA color components packed into
110 * integer pixels. The image has a <code>DirectColorModel</code>
111 * with alpha. The color data in this image is considered not to be
114 * constructor, the created image is consistent with images
120 * Represents an image with 8-bit RGBA color components packed into
121 * integer pixels. The image has a <code>DirectColorModel</code>
122 * with alpha. The color data in this image is considered to be
128 * Represents an image with 8-bit RGB color components, corresponding
131 * The image has a {@link DirectColorModel}.
133 * in an image of this type,
142 * Represents an image with 8-bit RGB color components, corresponding
144 * and Red stored in 3 bytes. There is no alpha. The image has a
147 * in an image of this type,
156 * Represents an image with 8-bit RGBA color components with the colors
158 * image has a <code>ComponentColorModel</code> with alpha. The
159 * color data in this image is considered not to be premultiplied with
167 * Represents an image with 8-bit RGBA color components with the colors
169 * image has a <code>ComponentColorModel</code> with alpha. The color
170 * data in this image is considered to be premultiplied with alpha.
177 * Represents an image with 5-6-5 RGB color components (5-bits red,
178 * 6-bits green, 5-bits blue) with no alpha. This image has
181 * in an image of this type,
190 * Represents an image with 5-5-5 RGB color components (5-bits red,
191 * 5-bits green, 5-bits blue) with no alpha. This image has
194 * in an image of this type,
203 * Represents a unsigned byte grayscale image, non-indexed. This
204 * image has a <code>ComponentColorModel</code> with a CS_GRAY
207 * in an image of this type,
216 * Represents an unsigned short grayscale image, non-indexed). This
217 * image has a <code>ComponentColorModel</code> with a CS_GRAY
220 * in an image of this type,
229 * Represents an opaque byte-packed 1, 2, or 4 bit image. The
230 * image has an {@link IndexColorModel} without alpha. When this
234 * argument, a 1-bit image is created with an
244 * <p> Images with 8 bits per pixel should use the image types
248 * <p> When color data is stored in an image of this type,
258 * Represents an indexed byte image. When this type is used as the
267 * <p> When color data is stored in an image of this type,
299 * image types. The <code>ColorSpace</code> for the image is the
301 * @param width width of the created image
302 * @param height height of the created image
303 * @param imageType type of the created image
509 throw new IllegalArgumentException ("Unknown image type " +
518 * image types:
521 * <p> If the image type is TYPE_BYTE_BINARY, the number of
523 * image should have 1, 2, or 4 bits per pixel. If the color model
524 * has 1 or 2 entries, the image will have 1 bit per pixel. If it
525 * has 3 or 4 entries, the image with have 2 bits per pixel. If
526 * it has between 5 and 16 entries, the image will have 4 bits per
529 * @param width width of the created image
530 * @param height height of the created image
531 * @param imageType type of the created image
532 * @param cm <code>IndexColorModel</code> of the created image
544 throw new IllegalArgumentException("This image types do not have "+
572 throw new IllegalArgumentException("Invalid image type (" +
579 throw new IllegalArgumentException("Incompatible image type and IndexColorModel");
599 * @param cm <code>ColorModel</code> for the new image
600 * @param raster <code>Raster</code> for the image data
826 * Returns the image type. If it is not one of the known types,
828 * @return the image type of this <code>BufferedImage</code>.
874 * this image. This method assumes that for all
878 * which is stored as the last band of image data.
879 * If the image uses an <code>IndexColorModel</code> that
896 * the image <code>ColorModel</code>. There are only 8-bits of
924 * from a portion of the image data. Color conversion takes
925 * place if the default model does not match the image
929 * image, the ARGB pixel can be accessed in this way:
1024 * into a portion of the image data. Color conversion takes place
1025 * if the default model does not match the image
1029 * this image, the ARGB pixel can be accessed in this way:
1102 * Returns the object that produces the pixels for the image.
1104 * pixels for this image.
1119 * Returns a property of the image by name. Individual property names
1120 * are defined by the various image formats. If a property is not
1121 * defined for a particular image, this method returns the
1123 * for this image are not yet known, then this method returns
1127 * description of the image, its source, or its author.
1130 * notification regarding image information
1133 * properties of this image are not yet known.
1143 * Returns a property of the image by name.
1169 * this image.
1179 * image.
1190 * data array as the original image.
1251 * of image data for this <code>BufferedImage</code>. This
1257 * this <code>BufferedImage</code> object's image date, or
1386 * image is changed.
1404 * Returns the image as one large tile. The <code>Raster</code>
1405 * returned is a copy of the image data is not updated if the
1406 * image is changed.
1407 * @return a <code>Raster</code> that is a copy of the image data.
1436 * copy of the image data and is not updated if the image is
1440 * @return a <code>Raster</code> that is a copy of the image data of
1471 * <code>SampleModel</code> that is compatible with this image. If
1475 * part of the image, or <code>null</code>
1499 * Sets a rectangular region of the image to the contents of the
1569 throw new IllegalArgumentException("Only 1 tile in image");