软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.image |
提供创建和修改图像的类。
|
java.awt.image.renderable |
提供用于生成渲染独立图像的类和接口。
|
Modifier and Type | Method and Description |
---|---|
abstract ImageProducer |
Image.getSource()
获取产生图像的像素的对象。
|
Modifier and Type | Method and Description |
---|---|
Image |
Component.createImage(ImageProducer producer)
从指定的图像生成器创建一个图像。
|
abstract Image |
Toolkit.createImage(ImageProducer producer)
用指定的图像生成器创建一个图像。
|
Modifier and Type | Class and Description |
---|---|
class |
FilteredImageSource
这类的imageproducer接口,以现有的图像和一个滤波对象并使用它们来为一个新的过滤版本的原始图像生成图像数据的实现。
|
class |
MemoryImageSource
这类是使用一个数组来对产生的图像像素值的imageproducer接口的实现。
|
Modifier and Type | Method and Description |
---|---|
ImageProducer |
VolatileImage.getSource()
这一imageproducer返回此volatileimage。
|
ImageProducer |
BufferedImage.getSource()
返回产生图像的像素的对象。
|
Modifier and Type | Method and Description |
---|---|
void |
ImageFilter.resendTopDownLeftRight(ImageProducer ip)
响应一个请求TopDownLeftRight(TDLR)下令从
ImageConsumer 像素数据重发。
|
Constructor and Description |
---|
FilteredImageSource(ImageProducer orig, ImageFilter imgf)
从现有的imageproducer和过滤对象构造一个imageproducer对象。
|
PixelGrabber(ImageProducer ip, int x, int y, int w, int h, int[] pix, int off, int scansize)
创建一个对象pixelgrabber抢(X,Y,W,H)从图像由指定的imageproducer到给定的像素阵列的矩形截面。
|
Modifier and Type | Class and Description |
---|---|
class |
RenderableImageProducer
一个适配器类实现imageproducer允许一个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, 2014, Oracle and/or its affiliates. All rights reserved.