org.geotools.image.crop
Class GTCropDescriptor
Object
OperationDescriptorImpl
GTCropDescriptor
- All Implemented Interfaces:
- Serializable, OperationDescriptor, RegistryElementDescriptor
public class GTCropDescriptor
- extends OperationDescriptorImpl
Describes the "GTCrop" operation which performs a crop on an image, like the standard JAI Crop,
but does so respecting the tile scheduler and tile cache specified in the rendering hints
- Since:
- 2.7.2
- Author:
- Andrea Aime
- See Also:
- Serialized Form
Methods inherited from class OperationDescriptorImpl |
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GTCropDescriptor
public GTCropDescriptor()
register
public static void register()
- Manually registers the operation in the registry in case it's not already there
create
public static RenderedOp create(RenderedImage source0,
Float x,
Float y,
Float width,
Float height,
RenderingHints hints)
- Performs cropping to a specified bounding box.
- Parameters:
source
- RenderedImage
source 0.x
- The x origin of the cropping operation.y
- The y origin of the cropping operation.width
- The width of the cropping operation.height
- The height of the cropping operation.hints
- The RenderingHints
to use, may be null
Copyright © 1996-2014 Geotools. All Rights Reserved.