Class FixedShapeFilter

java.lang.Object
  |
  +--FixedShapeFilter
All Implemented Interfaces:
se.datadosen.jalbum.JAFilter, java.io.Serializable

public class FixedShapeFilter
extends java.lang.Object
implements se.datadosen.jalbum.JAFilter

JAlbum filter that makes sure that all images/thumbnails get the same shape as specified by image size or thumbnail size. The effect is accomplished by cropping. Always use with "prefilter" attribute

Author:
David Ekholm, Datadosen 2003
See Also:
Serialized Form

Constructor Summary
FixedShapeFilter()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage bi, java.util.Map vars)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedShapeFilter

public FixedShapeFilter()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface se.datadosen.jalbum.JAFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface se.datadosen.jalbum.JAFilter

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage bi,
                                           java.util.Map vars)
Specified by:
filter in interface se.datadosen.jalbum.JAFilter