Uses of Class
java.awt.image.Raster
-
Packages that use Raster 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.image 提供创建和修改图像的类。javax.imageio Java Image I / O API的主要包。 -
-
Uses of Raster in java.awt
Methods in java.awt that return Raster Modifier and Type 方法 描述 Raster
PaintContext. getRaster(int x, int y, int w, int h)
返回包含为图形操作生成的颜色的Raster
。Methods in java.awt with parameters of type Raster Modifier and Type 方法 描述 void
CompositeContext. compose(Raster src, Raster dstIn, WritableRaster dstOut)
组合两个源Raster
对象,并将结果放在目标WritableRaster
中 。 -
Uses of Raster in java.awt.image
Subclasses of Raster in java.awt.image Modifier and Type Class 描述 class
WritableRaster
该类扩展了Raster,以提供像素写入功能。Fields in java.awt.image declared as Raster Modifier and Type Field 描述 protected Raster
Raster. parent
此栅格的父项,或null。Methods in java.awt.image that return Raster Modifier and Type 方法 描述 Raster
Raster. createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int[] bandList)
返回一个新的Raster,它共享此Raster DataBuffer的全部或部分。static Raster
Raster. createRaster(SampleModel sm, DataBuffer db, Point location)
使用指定的SampleModel和DataBuffer创建光栅。Raster
Raster. createTranslatedChild(int childMinX, int childMinY)
创建一个具有相同大小的光栅,SampleModel和DataBuffer,但是具有不同的位置。Raster
BufferedImage. getData()
将图像返回为一个大图块。Raster
BufferedImage. getData(Rectangle rect)
计算并返回BufferedImage
的任意区域。Raster
RenderedImage. getData()
将图像作为一个大图块返回(对于基于图块的图像,这将需要获取整个图像并复制图像数据)。Raster
RenderedImage. getData(Rectangle rect)
计算并返回RenderedImage的任意区域。Raster
Raster. getParent()
返回此栅格的父栅格(如果有)或null。Raster
BufferedImage. getTile(int tileX, int tileY)
返回瓦(tileX
,tileY
)。Raster
RenderedImage. getTile(int tileX, int tileY)
返回tile(tileX,tileY)。Methods in java.awt.image with parameters of type Raster Modifier and Type 方法 描述 BufferedImage
IndexColorModel. convertToIntDiscrete(Raster raster, boolean forceARGB)
返回一个新BufferedImage
TYPE_INT_ARGB或TYPE_INT_RGB的具有Raster
通过展开源的索引来计算的与像素数据Raster
使用此的颜色/ alpha分量数组ColorModel
。WritableRaster
AffineTransformOp. createCompatibleDestRaster(Raster src)
创建带有正确大小和频带数的零目的地Raster
。WritableRaster
BandCombineOp. createCompatibleDestRaster(Raster src)
创建带有正确大小和频带数的归零目的地Raster
。WritableRaster
ColorConvertOp. createCompatibleDestRaster(Raster src)
给出这个来源,创建一个具有正确大小和频带数的归零目标光栅。WritableRaster
ConvolveOp. createCompatibleDestRaster(Raster src)
给出这个来源,创建一个具有正确大小和频带数的归零目标光栅。WritableRaster
LookupOp. createCompatibleDestRaster(Raster src)
创建一个零目的地Raster
具有正确的大小和数量的频带,给定这个来源。WritableRaster
RasterOp. createCompatibleDestRaster(Raster src)
创建具有正确大小和频带数的归零目标光栅。WritableRaster
RescaleOp. createCompatibleDestRaster(Raster src)
创建一个零目的地Raster
具有正确的大小和数量的频带,给定这个来源。WritableRaster
AffineTransformOp. filter(Raster src, WritableRaster dst)
转换源Raster
并将结果存储在目标Raster
。WritableRaster
BandCombineOp. filter(Raster src, WritableRaster dst)
使用构造函数中指定的矩阵来转换Raster
。WritableRaster
ColorConvertOp. filter(Raster src, WritableRaster dest)
Color转换源光栅中的图像数据。WritableRaster
ConvolveOp. filter(Raster src, WritableRaster dst)
对光栅进行卷积。WritableRaster
LookupOp. filter(Raster src, WritableRaster dst)
对Raster
执行查找操作。WritableRaster
RasterOp. filter(Raster src, WritableRaster dest)
执行从源光栅到目标光栅的单输入/单输出操作。WritableRaster
RescaleOp. filter(Raster src, WritableRaster dst)
重新调整源光栅中的像素数据。Rectangle2D
AffineTransformOp. getBounds2D(Raster src)
返回已转换目的地的边界框。Rectangle2D
BandCombineOp. getBounds2D(Raster src)
返回已转换目的地的边界框。Rectangle2D
ColorConvertOp. getBounds2D(Raster src)
给出这个源,返回目的地的边界框。Rectangle2D
ConvolveOp. getBounds2D(Raster src)
返回已筛选的目标栅格的边框。Rectangle2D
LookupOp. getBounds2D(Raster src)
返回已筛选的目标栅格的边框。Rectangle2D
RasterOp. getBounds2D(Raster src)
返回已筛选的目标栅格的边框。Rectangle2D
RescaleOp. getBounds2D(Raster src)
返回重新缩放的目标栅格的边框。boolean
ColorModel. isCompatibleRaster(Raster raster)
返回true
如果raster
是兼容这个ColorModel
和false
如果不是。boolean
ComponentColorModel. isCompatibleRaster(Raster raster)
如果raster
与此ColorModel
兼容,则返回true; 假如不是的话。boolean
DirectColorModel. isCompatibleRaster(Raster raster)
返回true
如果raster
与raster
兼容,如果raster
符合,ColorModel
false
。boolean
IndexColorModel. isCompatibleRaster(Raster raster)
返回true
如果raster
与此兼容ColorModel
或者false
如果不是与此兼容ColorModel
。void
BufferedImage. setData(Raster r)
将图像的矩形区域设置为指定的Raster r
的内容,假定它与BufferedImage
位于相同的坐标空间。void
WritableRenderedImage. setData(Raster r)
将图像的矩形设置为Raster r的内容,该Raster r假定为与WritableRenderedImage在同一坐标空间。void
WritableRaster. setDataElements(int x, int y, Raster inRaster)
从输入光栅设置像素矩形的数据。void
WritableRaster. setRect(int dx, int dy, Raster srcRaster)
将像素从Raster srcRaster复制到WritableRaster。void
WritableRaster. setRect(Raster srcRaster)
将像素从Raster srcRaster复制到WritableRaster。Constructors in java.awt.image with parameters of type Raster Constructor 描述 Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
使用给定的SampleModel,DataBuffer和父构造栅格。 -
Uses of Raster in javax.imageio
Fields in javax.imageio declared as Raster Modifier and Type Field 描述 protected Raster
IIOImage. raster
参考的Raster
。Methods in javax.imageio that return Raster Modifier and Type 方法 描述 Raster
IIOImage. getRaster()
如果只有RenderedImage
可用,则返回当前设置的Raster
或null
。Raster
ImageReader. readRaster(int imageIndex, ImageReadParam param)
返回一个新的Raster
对象,其中包含来自图像流的原始像素数据,而不应用任何颜色转换。Raster
ImageReader. readTileRaster(int imageIndex, int tileX, int tileY)
返回一个包含来自图块的原始像素数据的新的Raster
对象,而不应用任何颜色转换。Methods in javax.imageio with parameters of type Raster Modifier and Type 方法 描述 void
ImageWriter. replacePixels(Raster raster, ImageWriteParam param)
用给定的Raster
的一部分替换已经存在于输出中的图像的一部分。void
IIOImage. setRaster(Raster raster)
设置当前的Raster
。Constructors in javax.imageio with parameters of type Raster Constructor 描述 IIOImage(Raster raster, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)
构造一个IIOImage
含有Raster
,和缩略图和元数据与之相关联。
-