Interface FilterResRable
- All Superinterfaces:
Filter
,RenderableImage
- All Known Implementing Classes:
FilterResRable8Bit
Interface for implementing filter resolution.
-
Field Summary
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the resolution along the X axis.int
Returns the resolution along the Y axis.Returns the source to be cropped.void
setFilterResolutionX
(int filterResolutionX) Sets the resolution along the X axis, i.e., the maximum size for intermediate images along that axis.void
setFilterResolutionY
(int filterResolutionY) Sets the resolution along the Y axis, i.e., the maximum size for intermediate images along that axis.void
Sets the source to be croppedMethods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
Methods inherited from interface java.awt.image.renderable.RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Method Details
-
getSource
Filter getSource()Returns the source to be cropped. -
setSource
Sets the source to be cropped- Parameters:
src
- image to offset.
-
getFilterResolutionX
int getFilterResolutionX()Returns the resolution along the X axis. -
setFilterResolutionX
void setFilterResolutionX(int filterResolutionX) Sets the resolution along the X axis, i.e., the maximum size for intermediate images along that axis. The value should be greater than zero to have an effect. -
getFilterResolutionY
int getFilterResolutionY()Returns the resolution along the Y axis. -
setFilterResolutionY
void setFilterResolutionY(int filterResolutionY) Sets the resolution along the Y axis, i.e., the maximum size for intermediate images along that axis. The value should be greater than zero to have an effect.
-