|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.RenderingHints.Key org.geotools.renderer.j2d.Hints
org.geotools.display.canvas.AbstractCanvas
as part
of the port of J2D-renderer to the new GO-1 based API. Note that it is not possible
to mix J2D-renderer classes with GO-1 rendering engine. Migration from J2D-renderer
to the GO-1 API will requires the replacement of all deprecated classes together.
Because the new GO-1 rendering engine is a work in progress, see
GEOT-776 in order to determine
if enough functionalites have been ported for yours need.
A set of RenderingHints
keys for rendering operations. Hints are memorized by
Renderer
, which formard them to Graphics2D
at rendering time.
Rendering hints can be used to control some low-level details, like the expected
resolution.
Field Summary | |
static java.awt.RenderingHints.Key |
COORDINATE_TRANSFORMATION_FACTORY
Deprecated. Key for setting a CoordinateTransformationFactory object other
than the default one when coordinate transformations must be performed
at rendering time. |
static java.awt.RenderingHints.Key |
FINEST_RESOLUTION
Deprecated. The finest rendering resolution in unit of dots (1/72 of inch). |
static java.awt.RenderingHints.Key |
GRID_COVERAGE_PROCESSOR
Deprecated. Key for setting a GridCoverageProcessor instance other than the default.
|
static java.awt.RenderingHints.Key |
JAI_INSTANCE
Deprecated. Key for setting a JAI object other than the default one when a JAI operation must be
applied. |
static java.awt.RenderingHints.Key |
PREFETCH
Deprecated. Boolean.TRUE if the renderer is allowed to prefetch data before to paint layers.
|
static java.awt.RenderingHints.Key |
REQUIRED_RESOLUTION
Deprecated. The required rendering resolution in unit of dots (1/72 of inch). |
Method Summary | |
boolean |
isCompatibleValue(java.lang.Object value)
Deprecated. Returns true if the specified object is a valid value for this key. |
Methods inherited from class java.awt.RenderingHints.Key |
equals, hashCode, intKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.awt.RenderingHints.Key GRID_COVERAGE_PROCESSOR
GridCoverageProcessor
instance other than the default.
Grid coverage processor are used for resampling grid coverage when the rendering
coordinate system is different than the grid coverage one.
public static final java.awt.RenderingHints.Key JAI_INSTANCE
JAI
object other than the default one when a JAI operation must be
applied. This is used especially for the scale operation when rendering an image with RenderedGridCoverage
. This is the same
key than org.geotools.gp.Hints.JAI_INSTANCE
and is
declared here only for convenience. If there is no value for this key but a value exists for
GRID_COVERAGE_PROCESSOR
, then the JAI instance will be inherited from the specified
GridCoverageProcessor
.
public static final java.awt.RenderingHints.Key COORDINATE_TRANSFORMATION_FACTORY
CoordinateTransformationFactory
object other
than the default one when coordinate transformations must be performed
at rendering time. This is the same key than org.geotools.gp
Hints.COORDINATE_TRANSFORMATION_FACTORY
and is
declared here only for convenience. If there is no value for this key but
a value exists for GRID_COVERAGE_PROCESSOR
, then the JAI instance
will be inherited from the specified GridCoverageProcessor
.
public static final java.awt.RenderingHints.Key FINEST_RESOLUTION
Geometry
to be rendered has a finer resolution, it will be decimated in order
to speed up rendering. By convention, a resolution of 0 means the finest resolution
available.
public static final java.awt.RenderingHints.Key REQUIRED_RESOLUTION
Geometry
has been decimated to a worst resolution, it will be resampled
in order to gets a more acceptable resolution. This value should be greater than
FINEST_RESOLUTION
.
public static final java.awt.RenderingHints.Key PREFETCH
Boolean.TRUE
if the renderer is allowed to prefetch data before to paint layers.
Prefetching data may speed up rendering on machine with more than one processor. If this
hint is not provided, then the renderer will prefetch data if and
only if the machine has at least two processors.
RenderedLayer.prefetch(org.geotools.renderer.j2d.RenderingContext)
,
PlanarImage.prefetchTiles(java.awt.Point[])
,
Runtime.availableProcessors()
Method Detail |
public boolean isCompatibleValue(java.lang.Object value)
true
if the specified object is a valid value for this key.
value
- The object to test for validity.
true
if the value is valid; false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |