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)
ImageDrawersetLastTransparency in interface ImageDrawerpublic Image drawBufferOverImageObject() throws ProcessInterruptedException
ImageDrawerdrawBufferOverImageObject in interface ImageDrawerProcessInterruptedExceptionpublic void setBuffer(Buffer b)
ImageDrawersetBuffer in interface ImageDrawerpublic void setSupersamplingOn(double[] step)
ImageDrawersetSupersamplingOn in interface ImageDrawerstep - Desplazamientopublic void setOutputSize(int w,
int h)
ImageDrawersetOutputSize in interface ImageDrawerw - Anchopublic void dispose()
ImageDrawerdispose in interface ImageDrawerpublic void addFilters(Statistics stats, List<RasterFilter> filters) throws FilterTypeException
ImageDraweraddFilters in interface ImageDrawerFilterTypeExceptionpublic Buffer addEnhanced(Statistics stats)
ImageDraweraddEnhanced in interface ImageDrawerpublic Buffer addEnhanced(Statistics stats, boolean tailTrim, double tailTrimValue)
ImageDraweraddEnhanced in interface ImageDrawer