public class BufferedImageBuilder extends Object implements ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
Constructor and Description |
---|
BufferedImageBuilder() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
getBufferedImage() |
void |
imageComplete(int status) |
void |
setColorModel(ColorModel model) |
void |
setDimensions(int width,
int height) |
void |
setHints(int flags) |
void |
setPixels(int x,
int y,
int w,
int h,
ColorModel model,
byte[] pixels,
int offset,
int scansize) |
void |
setPixels(int x,
int y,
int w,
int h,
ColorModel model,
int[] pixels,
int offset,
int scansize) |
void |
setProperties(Hashtable<?,?> props) |
public BufferedImage getBufferedImage()
public void setDimensions(int width, int height)
setDimensions
in interface ImageConsumer
public void setProperties(Hashtable<?,?> props)
setProperties
in interface ImageConsumer
public void setColorModel(ColorModel model)
setColorModel
in interface ImageConsumer
public void setHints(int flags)
setHints
in interface ImageConsumer
public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
setPixels
in interface ImageConsumer
public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
setPixels
in interface ImageConsumer
public void imageComplete(int status)
imageComplete
in interface ImageConsumer
Copyright © 2015–2021 Fiji. All rights reserved.