lib.transformations
Class AffineShearTransform
java.lang.Object
lib.transformations.ImageTransform
lib.transformations.AffineShearTransform
- All Implemented Interfaces:
- java.io.Serializable, Transformer<java.awt.image.BufferedImage>
public class AffineShearTransform
- extends ImageTransform
functor class to affineShear an image
- See Also:
- Serialized Form
Method Summary |
java.awt.image.BufferedImage |
transform(java.awt.image.BufferedImage inputimage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AffineShearTransform
public AffineShearTransform(double shearx,
double sheary,
int interpolationType)
- Parameters:
shearx
- the multiplier by which coordinates are shifted in the
direction of the positive X axis as a factor of their Y coordinatesheary
- the multiplier by which coordinates are shifted in the
direction of the positive Y axis as a factor of their X coordinateinterpolationType
-
AffineShearTransform
public AffineShearTransform(double shearx,
double sheary)
transform
public java.awt.image.BufferedImage transform(java.awt.image.BufferedImage inputimage)