public class QrCodeGeneratorImage extends QrCodeGenerator
bitLocations, markerWidth, moduleWidth, numModules, renderData| Constructor and Description |
|---|
QrCodeGeneratorImage(int pixelsPerModule) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorderModule() |
boofcv.struct.image.GrayU8 |
getGray() |
void |
init() |
void |
render(QrCode qr)
Generates a QR Code with the specified message.
|
void |
setBorderModule(int borderModule)
Used to change the white border's size.
|
void |
square(double x0,
double y0,
double width) |
void |
square(double x0,
double y0,
double width0,
double thickness) |
public void init()
init in class QrCodeGeneratorpublic void render(QrCode qr)
QrCodeGeneratorrender in class QrCodeGeneratorpublic void square(double x0,
double y0,
double width)
square in class QrCodeGeneratorpublic void square(double x0,
double y0,
double width0,
double thickness)
square in class QrCodeGeneratorpublic int getBorderModule()
public void setBorderModule(int borderModule)
borderModule - Border size in units of modulespublic boofcv.struct.image.GrayU8 getGray()