Uses of Class
java.awt.RenderingHints
-
Packages that use RenderingHints 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. -
-
Uses of RenderingHints in java.awt
Methods in java.awt that return RenderingHints Modifier and Type Method and Description abstract RenderingHints
Graphics2D. getRenderingHints()
Gets the preferences for the rendering algorithms.Methods in java.awt with parameters of type RenderingHints Modifier and Type Method and Description void
RenderingHints. add(RenderingHints hints)
Adds all of the keys and corresponding values from the specifiedRenderingHints
object to thisRenderingHints
object.CompositeContext
AlphaComposite. createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Creates a context for the compositing operation.CompositeContext
Composite. createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Creates a context containing state that is used to perform the compositing operation.PaintContext
TexturePaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Creates and returns aPaintContext
used to generate a tiled image pattern.PaintContext
GradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Creates and returns aPaintContext
used to generate a linear color gradient pattern.PaintContext
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.PaintContext
LinearGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)
Creates and returns aPaintContext
used to generate a linear color gradient pattern.PaintContext
Paint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Creates and returns aPaintContext
used to generate the color pattern.PaintContext
Color. createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)
Creates and returns aPaintContext
used to generate a solid color field pattern. -
Uses of RenderingHints in java.awt.image
Methods in java.awt.image that return RenderingHints Modifier and Type Method and Description RenderingHints
AffineTransformOp. getRenderingHints()
Returns the rendering hints used by this transform operation.RenderingHints
BandCombineOp. getRenderingHints()
Returns the rendering hints for this operation.RenderingHints
LookupOp. getRenderingHints()
Returns the rendering hints for this op.RenderingHints
RescaleOp. getRenderingHints()
Returns the rendering hints for this op.RenderingHints
ConvolveOp. getRenderingHints()
Returns the rendering hints for this op.RenderingHints
RasterOp. getRenderingHints()
Returns the rendering hints for this RasterOp.RenderingHints
ColorConvertOp. getRenderingHints()
Returns the rendering hints used by this op.RenderingHints
BufferedImageOp. getRenderingHints()
Returns the rendering hints for this operation.Constructors in java.awt.image with parameters of type RenderingHints Constructor and Description AffineTransformOp(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
Methods in java.awt.image.renderable that return RenderingHints Modifier and Type Method and Description RenderingHints
RenderContext. getRenderingHints()
Gets the rendering hints of thisRenderContext
.Methods in java.awt.image.renderable with parameters of type RenderingHints Modifier and Type Method and Description RenderedImage
RenderedImageFactory. 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.RenderedImage
RenderableImageOp. createScaledRendering(int w, int h, RenderingHints hints)
Creates a RenderedImage instance of this image with width w, and height h in pixels.RenderedImage
RenderableImage. 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
.Constructors in java.awt.image.renderable with parameters of type RenderingHints Constructor and Description RenderContext(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.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.