org.mycore.services.imaging.JAI.imgOperation
Class MCRJAIResizeOp

java.lang.Object
  extended by org.mycore.services.imaging.JAI.imgOperation.MCRJAIScaleOp
      extended by org.mycore.services.imaging.JAI.imgOperation.MCRJAIResizeOp
All Implemented Interfaces:
MCRJAIImageOp

public class MCRJAIResizeOp
extends MCRJAIScaleOp
implements MCRJAIImageOp


Field Summary
(package private)  int newHeight
           
(package private)  int newWidth
           
 
Fields inherited from class org.mycore.services.imaging.JAI.imgOperation.MCRJAIScaleOp
scaleFactor
 
Constructor Summary
MCRJAIResizeOp(int newWidth, int newHeight)
           
 
Method Summary
 javax.media.jai.RenderedOp executeOp(javax.media.jai.PlanarImage image)
           
 
Methods inherited from class org.mycore.services.imaging.JAI.imgOperation.MCRJAIScaleOp
getOrder, scale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mycore.services.imaging.JAI.imgOperation.MCRJAIImageOp
getOrder
 

Field Detail

newWidth

int newWidth

newHeight

int newHeight
Constructor Detail

MCRJAIResizeOp

public MCRJAIResizeOp(int newWidth,
                      int newHeight)
Method Detail

executeOp

public javax.media.jai.RenderedOp executeOp(javax.media.jai.PlanarImage image)
Specified by:
executeOp in interface MCRJAIImageOp
Overrides:
executeOp in class MCRJAIScaleOp