Class SignatureDecompressor
- java.lang.Object
-
- com.stepover.opensignatureapi.device.util.SignatureDecompressor
-
public class SignatureDecompressor extends java.lang.Objectthe signature image preview image decompressor
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Booleanrefresh
-
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 voiddrawSmooth(int smoothIterations)booleanhasRefreshed()booleanparseDataRLE(byte[] data, int addr, int len, java.awt.image.BufferedImage bufferedImage)voidstopDrawing()booleanwriteByteBmp(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()
-
-