public class ImageDrawerImpl extends Object implements ImageDrawer
Constructor and Description |
---|
ImageDrawerImpl() |
Modifier and Type | Method and Description |
---|---|
Buffer |
addEnhanced(Statistics stats)
Adds a enhanced filter to the buffer
|
Buffer |
addEnhanced(Statistics stats,
boolean tailTrim,
double tailTrimValue)
Adds a enhanced filter to the buffer
|
void |
addFilters(Statistics stats,
List<RasterFilter> filters)
Adds a list of filters
|
void |
dispose()
Releases the link to the buffer.
|
Image |
drawBufferOverImageObject()
Dibuja el buffer sobre un objeto Image de java.awt y devuelve el resultado.
|
protected void |
finalize() |
void |
setBuffer(Buffer b)
Sets the buffer to render
|
void |
setLastTransparency(Transparency t)
Assigns the buffer transparency
|
void |
setOutputSize(int w,
int h)
Sets the size of the output buffer.
|
void |
setSupersamplingOn(double[] step)
Sets the shift in pixels from the upper left corner.
|
public void setLastTransparency(Transparency t)
ImageDrawer
setLastTransparency
in interface ImageDrawer
public Image drawBufferOverImageObject() throws ProcessInterruptedException
ImageDrawer
drawBufferOverImageObject
in interface ImageDrawer
ProcessInterruptedException
public void setBuffer(Buffer b)
ImageDrawer
setBuffer
in interface ImageDrawer
public void setSupersamplingOn(double[] step)
ImageDrawer
setSupersamplingOn
in interface ImageDrawer
step
- Desplazamientopublic void setOutputSize(int w, int h)
ImageDrawer
setOutputSize
in interface ImageDrawer
w
- Anchopublic void dispose()
ImageDrawer
dispose
in interface ImageDrawer
public void addFilters(Statistics stats, List<RasterFilter> filters) throws FilterTypeException
ImageDrawer
addFilters
in interface ImageDrawer
FilterTypeException
public Buffer addEnhanced(Statistics stats)
ImageDrawer
addEnhanced
in interface ImageDrawer
public Buffer addEnhanced(Statistics stats, boolean tailTrim, double tailTrimValue)
ImageDrawer
addEnhanced
in interface ImageDrawer