Class DeferredProperty
java.lang.Object
org.apache.sis.internal.coverage.j2d.DeferredProperty
An image property for which the computation is differed.
This special kind of properties is recognized by the following methods:
- Since:
- 1.1
- Version:
- 1.1
- Author:
- Martin Desruisseaux (Geomatys)
-
Constructor Summary
ConstructorsConstructorDescriptionDeferredProperty(Function<RenderedImage, ?> provider) Creates a new deferred property. -
Method Summary
Modifier and TypeMethodDescriptionforGridGeometry(GridGeometry grid, int[] dimensions) Creates a deferred property for computing the value ofPlanarImage.GRID_GEOMETRY_KEY.
-
Constructor Details
-
DeferredProperty
Creates a new deferred property.- Parameters:
provider- function computing the value.
-
-
Method Details
-
forGridGeometry
Creates a deferred property for computing the value ofPlanarImage.GRID_GEOMETRY_KEY.- Parameters:
grid- the grid geometry of the grid coverage rendered as an image.dimensions- the dimensions to keep from the coverage grid geometry.- Returns:
- a deferred property for computing the grid geometry of an image.
-