Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.image |
Provides classes for creating and modifying images.
|
java.awt.image.renderable |
Provides classes and interfaces for producing
rendering-independent images.
|
Modifier and Type | Method and Description |
---|---|
abstract ImageProducer |
Image.getSource()
Gets the object that produces the pixels for the image.
|
Modifier and Type | Method and Description |
---|---|
abstract Image |
Toolkit.createImage(ImageProducer producer)
Creates an image with the specified image producer.
|
Image |
Component.createImage(ImageProducer producer)
Creates an image from the specified image producer.
|
Modifier and Type | Class and Description |
---|---|
class |
FilteredImageSource
This class is an implementation of the ImageProducer interface which
takes an existing image and a filter object and uses them to produce
image data for a new filtered version of the original image.
|
class |
MemoryImageSource
This class is an implementation of the ImageProducer interface which
uses an array to produce pixel values for an Image.
|
Modifier and Type | Method and Description |
---|---|
ImageProducer |
BufferedImage.getSource()
Returns the object that produces the pixels for the image.
|
ImageProducer |
VolatileImage.getSource()
This returns an ImageProducer for this VolatileImage.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageFilter.resendTopDownLeftRight(ImageProducer ip)
Responds to a request for a TopDownLeftRight (TDLR) ordered resend
of the pixel data from an
ImageConsumer . |
Constructor and Description |
---|
FilteredImageSource(ImageProducer orig,
ImageFilter imgf)
Constructs an ImageProducer object from an existing ImageProducer
and a filter object.
|
PixelGrabber(ImageProducer ip,
int x,
int y,
int w,
int h,
int[] pix,
int off,
int scansize)
Create a PixelGrabber object to grab the (x, y, w, h) rectangular
section of pixels from the image produced by the specified
ImageProducer into the given array.
|
Modifier and Type | Class and Description |
---|---|
class |
RenderableImageProducer
An adapter class that implements ImageProducer to allow the
asynchronous production of a RenderableImage.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.