Package org.enkatsu.zxingp5
Class QRCode
java.lang.Object
org.enkatsu.zxingp5.QRCode
-
Constructor Summary
Constructors -
Method Summary
-
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 arraywidth- image widthheight- 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 widthheight- image height- Returns:
- QR code image
-