Class TileImageFilter

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class TileImageFilter
    extends AbstractBufferedImageOp
    A filter which tiles an image into a lerger one.
    • Constructor Detail

      • TileImageFilter

        public TileImageFilter()
        Construct a TileImageFilter.
      • TileImageFilter

        public TileImageFilter​(int width,
                               int height)
        Construct a TileImageFilter.
        Parameters:
        width - the output image width
        height - the output image height
    • Method Detail

      • setWidth

        public void setWidth​(int width)
        Set the output image width.
        Parameters:
        width - the width
        See Also:
        getWidth()
      • getWidth

        public int getWidth()
        Get the output image width.
        Returns:
        the width
        See Also:
        setWidth(int)
      • setHeight

        public void setHeight​(int height)
        Set the output image height.
        Parameters:
        height - the height
        See Also:
        getHeight()
      • getHeight

        public int getHeight()
        Get the output image height.
        Returns:
        the height
        See Also:
        setHeight(int)
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object