Groovy Documentation

src.groovy.pl.burningice.plugins.image.engines.scale
Class JaiScaleEngine

java.lang.Object
  src.groovy.pl.burningice.plugins.image.engines.scale.JaiScaleEngine

class JaiScaleEngine

Abstract class for all scale engines

author:
Pawel Gdula


Constructor Summary
JaiScaleEngine()

 
Method Summary
BufferedImage execute(ImageFile loadedImage, int width, int height)

Execute image scaling

protected def scaleImage(def image, def width, def height)

Start scaling transformation

 
Methods inherited from class java.lang.Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

JaiScaleEngine

JaiScaleEngine()


 
Method Detail

execute

public BufferedImage execute(ImageFile loadedImage, int width, int height)
Execute image scaling
param:
ImageFile loadedImage Loaded image
param:
int width Requested width
param:
int height Requested height
return:
BufferedImage


scaleImage

protected def scaleImage(def image, def width, def height)
Start scaling transformation
param:
RenderedOp image Image to scale
param:
int width Requested width
param:
int height Requested height
return:
RenderedOp


 

Groovy Documentation