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
ImageException
public void write(java.io.OutputStream out) throws java.io.IOException
EscPosPrintObject
write
in interface EscPosPrintObject
out
- the output streamjava.io.IOException
- if an I/O error occurs.