Class QRCode

java.lang.Object
org.enkatsu.zxingp5.QRCode

public class QRCode extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    QRCode(processing.core.PApplet app, boolean[][] bitmap)
     
    QRCode(processing.core.PApplet app, boolean[] bitmap, int width, int height)
     
    QRCode(processing.core.PApplet app, com.google.zxing.BinaryBitmap bitmap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    processing.core.PImage
     
    processing.core.PImage
    getImage(int width, int height)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QRCode

      public QRCode(processing.core.PApplet app, com.google.zxing.BinaryBitmap bitmap)
      Parameters:
      app - A PApplet representing the user sketch, i.e "this"
      bitmap - bitmap
    • QRCode

      public QRCode(processing.core.PApplet app, boolean[][] bitmap)
      Parameters:
      app - A PApplet representing the user sketch, i.e "this"
      bitmap - bitmap
    • QRCode

      public QRCode(processing.core.PApplet app, boolean[] bitmap, int width, int height)
      Parameters:
      app - A PApplet representing the user sketch, i.e "this"
      bitmap - binary array
      width - image width
      height - image width
  • Method Details

    • getImage

      public processing.core.PImage getImage()
      Returns:
      QR code image
    • getImage

      public processing.core.PImage getImage(int width, int height)
      Parameters:
      width - image width
      height - image height
      Returns:
      QR code image