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

Interface OffsetRable

public interface OffsetRable extends Filter

Adjusts the input images coordinate system by dx, dy.
Method Summary
FiltergetSource()
Returns the source to be offset.
doublegetXoffset()
Get the x offset.
doublegetYoffset()
Get the y offset.
voidsetSource(Filter src)
Sets the source to be offset.
voidsetXoffset(double dx)
Set the x offset.
voidsetYoffset(double dy)
Set the y offset.

Method Detail

getSource

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

getXoffset

public double getXoffset()
Get the x offset.

Returns: the amount to offset in the x direction

getYoffset

public double getYoffset()
Get the y offset.

Returns: the amount to offset in the y direction

setSource

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

Parameters: src image to offset.

setXoffset

public void setXoffset(double dx)
Set the x offset.

Parameters: dx the amount to offset in the x direction

setYoffset

public void setYoffset(double dy)
Set the y offset.

Parameters: dy the amount to offset in the y direction

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