Uses of Class
java.awt.RenderingHints
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes for creating and modifying images.
Provides classes and interfaces for producing rendering-independent images.
-
Uses of RenderingHints in java.awt
Modifier and TypeMethodDescriptionabstract RenderingHints
Graphics2D.getRenderingHints()
Gets the preferences for the rendering algorithms.Modifier and TypeMethodDescriptionvoid
RenderingHints.add
(RenderingHints hints) Adds all of the keys and corresponding values from the specifiedRenderingHints
object to thisRenderingHints
object.AlphaComposite.createContext
(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) Creates a context for the compositing operation.Color.createContext
(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints) Creates and returns aPaintContext
used to generate a solid color field pattern.Composite.createContext
(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) Creates a context containing state that is used to perform the compositing operation.GradientPaint.createContext
(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) Creates and returns aPaintContext
used to generate a linear color gradient pattern.LinearGradientPaint.createContext
(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints) Creates and returns aPaintContext
used to generate a linear color gradient pattern.Paint.createContext
(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) Creates and returns aPaintContext
used to generate the color pattern.RadialGradientPaint.createContext
(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints) Creates and returns aPaintContext
used to generate a circular radial color gradient pattern.TexturePaint.createContext
(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) Creates and returns aPaintContext
used to generate a tiled image pattern. -
Uses of RenderingHints in java.awt.image
Modifier and TypeMethodDescriptionfinal RenderingHints
AffineTransformOp.getRenderingHints()
Returns the rendering hints used by this transform operation.final RenderingHints
BandCombineOp.getRenderingHints()
Returns the rendering hints for this operation.BufferedImageOp.getRenderingHints()
Returns the rendering hints for this operation.final RenderingHints
ColorConvertOp.getRenderingHints()
Returns the rendering hints used by this op.final RenderingHints
ConvolveOp.getRenderingHints()
Returns the rendering hints for this op.final RenderingHints
LookupOp.getRenderingHints()
Returns the rendering hints for this op.RasterOp.getRenderingHints()
Returns the rendering hints for this RasterOp.final RenderingHints
RescaleOp.getRenderingHints()
Returns the rendering hints for this op.ModifierConstructorDescriptionAffineTransformOp
(AffineTransform xform, RenderingHints hints) Constructs anAffineTransformOp
given an affine transform.BandCombineOp
(float[][] matrix, RenderingHints hints) Constructs aBandCombineOp
with the specified matrix.ColorConvertOp
(ColorSpace srcCspace, ColorSpace dstCspace, RenderingHints hints) Constructs a new ColorConvertOp from two ColorSpace objects.ColorConvertOp
(ColorSpace cspace, RenderingHints hints) Constructs a new ColorConvertOp from a ColorSpace object.ColorConvertOp
(ICC_Profile[] profiles, RenderingHints hints) Constructs a new ColorConvertOp from an array of ICC_Profiles.ColorConvertOp
(RenderingHints hints) Constructs a new ColorConvertOp which will convert from a source color space to a destination color space.ConvolveOp
(Kernel kernel, int edgeCondition, RenderingHints hints) Constructs a ConvolveOp given a Kernel, an edge condition, and a RenderingHints object (which may be null).LookupOp
(LookupTable lookup, RenderingHints hints) Constructs aLookupOp
object given the lookup table and aRenderingHints
object, which might benull
.RescaleOp
(float[] scaleFactors, float[] offsets, RenderingHints hints) Constructs a new RescaleOp with the desired scale factors and offsets.RescaleOp
(float scaleFactor, float offset, RenderingHints hints) Constructs a new RescaleOp with the desired scale factor and offset. -
Uses of RenderingHints in java.awt.image.renderable
Modifier and TypeMethodDescriptionRenderContext.getRenderingHints()
Gets the rendering hints of thisRenderContext
.Modifier and TypeMethodDescriptionRenderedImageFactory.create
(ParameterBlock paramBlock, RenderingHints hints) Creates a RenderedImage representing the results of an imaging operation (or chain of operations) for a given ParameterBlock and RenderingHints.RenderableImage.createScaledRendering
(int w, int h, RenderingHints hints) Creates a RenderedImage instance of this image with width w, and height h in pixels.RenderableImageOp.createScaledRendering
(int w, int h, RenderingHints hints) Creates a RenderedImage instance of this image with width w, and height h in pixels.void
RenderContext.setRenderingHints
(RenderingHints hints) Sets the rendering hints of thisRenderContext
.ModifierConstructorDescriptionRenderContext
(AffineTransform usr2dev, RenderingHints hints) Constructs a RenderContext with a given transform and rendering hints.RenderContext
(AffineTransform usr2dev, Shape aoi, RenderingHints hints) Constructs a RenderContext with a given transform.