public final class QRCodeWriter extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
QUIET_ZONE_SIZE |
Constructor and Description |
---|
QRCodeWriter() |
Modifier and Type | Method and Description |
---|---|
ByteMatrix |
encode(String contents,
int width,
int height) |
ByteMatrix |
encode(String contents,
int width,
int height,
Map<EncodeHintType,Object> hints) |
private static ByteMatrix |
renderResult(QRCode code,
int width,
int height) |
private static void |
setRowColor(byte[] row,
byte value) |
private static final int QUIET_ZONE_SIZE
public QRCodeWriter()
public ByteMatrix encode(String contents, int width, int height) throws WriterException
WriterException
public ByteMatrix encode(String contents, int width, int height, Map<EncodeHintType,Object> hints) throws WriterException
WriterException
private static ByteMatrix renderResult(QRCode code, int width, int height)
private static void setRowColor(byte[] row, byte value)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses