Class QrCodeGenerator

Direct Known Subclasses:
QrCodeGeneratorImage

public class QrCodeGenerator extends QrGeneratorBase<QrCodeGenerator>
Abstract class for creating qr codes. Contains the logic for rendering the QR Code but is missing the actual renderer.
  • Constructor Details

    • QrCodeGenerator

      public QrCodeGenerator(double markerWidth)
    • QrCodeGenerator

      public QrCodeGenerator()
  • Method Details

    • render

      public QrCodeGenerator render(QrCode qr)
      Generates a QR Code with the specified message. An exception is thrown if the message is too long to be encoded.
    • initialize

      protected void initialize(QrCode qr)