org.apache.batik.ext.awt.image.renderable

Interface FilterResRable

public interface FilterResRable extends Filter

Interface for implementing filter resolution.
Method Summary
intgetFilterResolutionX()
Returns the resolution along the X axis.
intgetFilterResolutionY()
Returns the resolution along the Y axis.
FiltergetSource()
Returns the source to be cropped.
voidsetFilterResolutionX(int filterResolutionX)
Sets the resolution along the X axis, i.e., the maximum size for intermediate images along that axis.
voidsetFilterResolutionY(int filterResolutionY)
Sets the resolution along the Y axis, i.e., the maximum size for intermediate images along that axis.
voidsetSource(Filter src)
Sets the source to be cropped

Method Detail

getFilterResolutionX

public int getFilterResolutionX()
Returns the resolution along the X axis.

getFilterResolutionY

public int getFilterResolutionY()
Returns the resolution along the Y axis.

getSource

public Filter getSource()
Returns the source to be cropped.

setFilterResolutionX

public 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.

setFilterResolutionY

public 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.

setSource

public void setSource(Filter src)
Sets the source to be cropped

Parameters: src image to offset.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.