All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.image.ImageFilter | +----Acme.JPM.Filters.ImageFilterPlus | +----Acme.JPM.Filters.CompositeFilter | +----Acme.JPM.Filters.Rotate
Rotates an image by the specified angle. The angle is in degrees measured counter-clockwise. It can be negative, but it should be between -90 and 90 or the resulting image will be unreasonably large. Staying between -45 and 45 is best.
The rotation algorithm is Alan Paeth's three-shear method, described in "A Fast Algorithm for General Raster Rotation", Graphics Interface '86, pp. 77-81.
This filter is slow.
Fetch the software.
Fetch the entire Acme package.
public Rotate(ImageProducer producer, double angle)
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs