Interface OffsetRable

  • All Superinterfaces:
    Filter, java.awt.image.renderable.RenderableImage

    public interface OffsetRable
    extends Filter
    Adjusts the input images coordinate system by dx, dy.
    Version:
    $Id: OffsetRable.java 1733416 2016-03-03 07:07:13Z gadams $
    • Field Summary

      • Fields inherited from interface java.awt.image.renderable.RenderableImage

        HINTS_OBSERVED
    • Method Detail

      • getSource

        Filter getSource()
        Returns the source to be offset.
      • setSource

        void setSource​(Filter src)
        Sets the source to be offset.
        Parameters:
        src - image to offset.
      • setXoffset

        void setXoffset​(double dx)
        Set the x offset.
        Parameters:
        dx - the amount to offset in the x direction
      • getXoffset

        double getXoffset()
        Get the x offset.
        Returns:
        the amount to offset in the x direction
      • setYoffset

        void setYoffset​(double dy)
        Set the y offset.
        Parameters:
        dy - the amount to offset in the y direction
      • getYoffset

        double getYoffset()
        Get the y offset.
        Returns:
        the amount to offset in the y direction