public interface ImageDrawer
| 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.
|
void |
setBuffer(Buffer b)
Sets the buffer to render
|
void |
setLastTransparency(Transparency t)
Assigns the buffer transparency
|
void |
setOutputSize(int width,
int height)
Sets the size of the output buffer.
|
void |
setSupersamplingOn(double[] step)
Sets the shift in pixels from the upper left corner.
|
void setBuffer(Buffer b)
void setLastTransparency(Transparency t)
t - void setSupersamplingOn(double[] step)
step - Desplazamientovoid setOutputSize(int width,
int height)
width - Anchoh - Altovoid dispose()
void addFilters(Statistics stats, List<RasterFilter> filters) throws FilterTypeException
stats - filters - FilterTypeExceptionBuffer addEnhanced(Statistics stats)
stats - Buffer addEnhanced(Statistics stats, boolean tailTrim, double tailTrimValue)
stats - Image drawBufferOverImageObject() throws ProcessInterruptedException
replicateBand - Flag de comportamiento del renderizado. Al renderizar el buffer
este obtiene la primera banda del buffer y la asigna al R, la segunda al G y la tercera
al B. Este flag no es tomado en cuenta en caso de que existan 3 bandas en el buffer.
Si no hay tres bandas, por ejemplo una y el flag es true esta será replicada
en R, G y B, en caso de ser false la banda será dibujada en su posición (R, G o B)
y en las otras bandas se rellenará con 0.transparentBand. - Si es true la banda 4 es alpha y si es false no lo es.ProcessInterruptedException