软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.image |
提供创建和修改图像的类。
|
java.awt.image.renderable |
提供用于生成渲染独立图像的类和接口。
|
Modifier and Type | Method and Description |
---|---|
abstract RenderingHints |
Graphics2D.getRenderingHints()
获取渲染算法的首选项。
|
Modifier and Type | Method and Description |
---|---|
void |
RenderingHints.add(RenderingHints hints)
添加了所有的键和对应的值从指定的
RenderingHints 反对这
RenderingHints 对象。
|
CompositeContext |
Composite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
创建一个包含状态下进行合成操作。
|
CompositeContext |
AlphaComposite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
创建合成操作上下文。
|
PaintContext |
Paint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
创建并返回一个用来生成的彩色图案
PaintContext 。
|
PaintContext |
Color.createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)
创建并返回一个用来生成一个单色场模式
PaintContext 。
|
PaintContext |
LinearGradientPaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)
创建并返回一个用来生成一个线性渐变颜色模式
PaintContext 。
|
PaintContext |
TexturePaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
创建并返回一个用来生成一个平铺的图像模式
PaintContext 。
|
PaintContext |
GradientPaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
创建并返回一个用来生成一个线性渐变颜色模式
PaintContext 。
|
PaintContext |
RadialGradientPaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)
创建并返回一个用来生成一个圆形径向颜色梯度模式
PaintContext 。
|
Modifier and Type | Method and Description |
---|---|
RenderingHints |
BufferedImageOp.getRenderingHints()
返回此操作的渲染提示。
|
RenderingHints |
AffineTransformOp.getRenderingHints()
返回此转换操作使用的渲染提示。
|
RenderingHints |
RasterOp.getRenderingHints()
返回渲染的暗示RasterOp。
|
RenderingHints |
ConvolveOp.getRenderingHints()
返回渲染暗示这个作品。
|
RenderingHints |
ColorConvertOp.getRenderingHints()
返回本作品用于渲染的提示
|
RenderingHints |
BandCombineOp.getRenderingHints()
返回此操作的渲染提示。
|
RenderingHints |
LookupOp.getRenderingHints()
返回渲染暗示这个作品。
|
RenderingHints |
RescaleOp.getRenderingHints()
返回渲染暗示这个作品。
|
Constructor and Description |
---|
AffineTransformOp(AffineTransform xform, RenderingHints hints)
构建了一个
AffineTransformOp 仿射变换。
|
BandCombineOp(float[][] matrix, RenderingHints hints)
构建了一个具有指定矩阵
BandCombineOp 。
|
ColorConvertOp(ColorSpace srcCspace, ColorSpace dstCspace, RenderingHints hints)
从两个空间对象构造一个新的colorconvertop。
|
ColorConvertOp(ColorSpace cspace, RenderingHints hints)
构建了从一个色彩空间对象的新colorconvertop。
|
ColorConvertOp(ICC_Profile[] profiles, RenderingHints hints)
结构的数组的一个新的colorconvertop icc_profiles。
|
ColorConvertOp(RenderingHints hints)
构建了一个新的ColorConvertOp将从源色彩空间转换到目标颜色空间。
|
ConvolveOp(Kernel kernel, int edgeCondition, RenderingHints hints)
构建中的ConvolveOp给出一个内核,一个边界条件,和renderinghints对象(可能为空)。
|
LookupOp(LookupTable lookup, RenderingHints hints)
构建了一个
LookupOp 对象给出了查找表和
RenderingHints 对象,这可能是
null 。
|
RescaleOp(float[] scaleFactors, float[] offsets, RenderingHints hints)
构建所需的尺度因子和偏移量的一个新的rescaleop。
|
RescaleOp(float scaleFactor, float offset, RenderingHints hints)
构建与希望的比例因子的一个新的rescaleop和偏移。
|
Modifier and Type | Method and Description |
---|---|
RenderingHints |
RenderContext.getRenderingHints()
得到这个
RenderContext Rendering。
|
Modifier and Type | Method and Description |
---|---|
RenderedImage |
RenderedImageFactory.create(ParameterBlock paramBlock, RenderingHints hints)
创建一个renderedimage代表成像操作的结果(或连锁经营)对于一个给定的parameterblock和renderinghints。
|
RenderedImage |
RenderableImageOp.createScaledRendering(int w, int h, RenderingHints hints)
创建一个与该图像的宽度W renderedimage实例,并在像素高度H。
|
RenderedImage |
RenderableImage.createScaledRendering(int w, int h, RenderingHints hints)
创建一个与该图像的宽度W renderedimage实例,并在像素高度H。
|
void |
RenderContext.setRenderingHints(RenderingHints hints)
设置渲染暗示这
RenderContext 。
|
Constructor and Description |
---|
RenderContext(AffineTransform usr2dev, RenderingHints hints)
构建一个与给定的变换和渲染的暗示rendercontext。
|
RenderContext(AffineTransform usr2dev, Shape aoi, RenderingHints hints)
构建一个与给定的变换rendercontext。
|
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.