|
YAACC - UPNP Client and Server
|
The QR code of a pairing token (issue #325): the Sendspin specification renders a token as a QR code that carries the token verbatim, with no URI scheme. More...

Static Public Member Functions | |
| static boolean[][] | modules (String text) |
| The dark modules of the code of the text, without the quiet zone. | |
| static int[] | pixels (boolean[][] modules, int scale) |
Pixels of the code with its quiet zone: white 0xFFFFFFFF and black 0xFF000000, size by size where size = (modules + 2 * QUIET_ZONE) * scale. | |
| static int | sizeOf (int modules, int scale) |
The side in pixels of pixels for a code of this many modules. | |
Static Public Attributes | |
| static final int | QUIET_ZONE = 4 |
| The modules around the code that a scanner needs as a quiet zone, as the QR standard says. | |
The QR code of a pairing token (issue #325): the Sendspin specification renders a token as a QR code that carries the token verbatim, with no URI scheme.
The token is upper case letters and digits, so the code is small (alphanumeric mode).
|
static |
The dark modules of the code of the text, without the quiet zone.
[row][column], true for a dark module | IllegalArgumentException | if the text does not fit into a code |
Referenced by de.yaacc.sendspin.QrCodes.pixels(), and de.yaacc.sendspin.QrCodes.sizeOf().
