public class EscPosImage extends java.lang.Object implements EscPosPrintObject
| Constructor and Description |
|---|
EscPosImage(Image image) |
| Modifier and Type | Method and Description |
|---|---|
EscPosImage |
align(byte align) |
EscPosImage |
dither(boolean enabled) |
EscPosImage |
width(int width) |
void |
write(java.io.OutputStream out)
Writes this printable object to the given output stream.
|
public EscPosImage(Image image)
public EscPosImage align(byte align)
public EscPosImage dither(boolean enabled)
public EscPosImage width(int width) throws ImageException
ImageExceptionpublic void write(java.io.OutputStream out)
throws java.io.IOException
EscPosPrintObjectwrite in interface EscPosPrintObjectout - the output streamjava.io.IOException - if an I/O error occurs.