Class QRCodeWriter
java.lang.Object
com.itextpdf.text.pdf.qrcode.QRCodeWriter
This object renders a QR Code as a ByteMatrix 2D array of greyscale values.
- Since:
- 5.0.2
- Author:
- dswitkin@google.com (Daniel Switkin)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode(String contents, int width, int height, Map<EncodeHintType, Object> hints)
-
Constructor Details
-
QRCodeWriter
public QRCodeWriter()
-
-
Method Details
-
encode
- Throws:
WriterException
-
encode
public ByteMatrix encode(String contents, int width, int height, Map<EncodeHintType, Object> hints) throws WriterException - Throws:
WriterException
-