Class SignatureDecompressor
- java.lang.Object
-
- com.stepover.opensignatureapi.device.util.SignatureDecompressor
-
public class SignatureDecompressor extends java.lang.Object
the signature image preview image decompressor
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Boolean
refresh
-
Constructor Summary
Constructors Constructor Description SignatureDecompressor(int width, int height, boolean oddWidthFix, java.awt.image.BufferedImage bufferedImage, java.awt.Color signatureColor, NativeDevice nativeDevice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawSmooth(int smoothIterations)
boolean
hasRefreshed()
boolean
parseDataRLE(byte[] data, int addr, int len, java.awt.image.BufferedImage bufferedImage)
void
stopDrawing()
boolean
writeByteBmp(int value, java.awt.image.BufferedImage bufferedImage)
-
-
-
Constructor Detail
-
SignatureDecompressor
public SignatureDecompressor(int width, int height, boolean oddWidthFix, java.awt.image.BufferedImage bufferedImage, java.awt.Color signatureColor, NativeDevice nativeDevice)
-
-
Method Detail
-
stopDrawing
public void stopDrawing()
-
writeByteBmp
public boolean writeByteBmp(int value, java.awt.image.BufferedImage bufferedImage)
-
parseDataRLE
public boolean parseDataRLE(byte[] data, int addr, int len, java.awt.image.BufferedImage bufferedImage)
-
drawSmooth
public void drawSmooth(int smoothIterations)
-
hasRefreshed
public boolean hasRefreshed()
-
-