Package | Description |
---|---|
org.tio.utils.qr |
Modifier and Type | Method and Description |
---|---|
static QRCode |
QRCode.from(Schema schema)
Creates a a QR Code from the given
Schema . |
static QRCode |
QRCode.from(String text)
Create a QR code from the given text.
|
QRCode |
QRCode.to(ImageType imageType)
Overrides the imageType from its default
ImageType.PNG |
QRCode |
QRCode.withCharset(String charset)
Overrides the default charset by supplying a
EncodeHintType.CHARACTER_SET hint to QRCodeWriter.encode(java.lang.String, com.google.zxing.BarcodeFormat, int, int) |
QRCode |
QRCode.withColor(int onColor,
int offColor) |
QRCode |
QRCode.withErrorCorrection(com.google.zxing.qrcode.decoder.ErrorCorrectionLevel level)
Overrides the default error correction by supplying a
EncodeHintType.ERROR_CORRECTION hint to
QRCodeWriter.encode(java.lang.String, com.google.zxing.BarcodeFormat, int, int) |
QRCode |
QRCode.withHint(com.google.zxing.EncodeHintType hintType,
Object value)
Sets hint to
QRCodeWriter.encode(java.lang.String, com.google.zxing.BarcodeFormat, int, int) |
QRCode |
QRCode.withSize(int width,
int height)
Overrides the size of the qr from its default 125x125
|
Copyright © 2018. All rights reserved.