Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public final class QrCodeImage

  1. Object
  2. QrCodeImage
Draws a QrCode as an Image, with the four module quiet zone a scanner needs around it.

Methods

public static Image create(QrCode code, int scale)Black on white, scale pixels per module.
public static Image create(QrCode code, int scale, int dark, int light)dark and light are ARGB.

Inherited methods

Method details

create

public static Image create(QrCode code, int scale)
Black on white, scale pixels per module.

create

public static Image create(QrCode code, int scale, int dark, int light)
dark and light are ARGB. Keep the contrast high; most scanners also expect dark modules on a light ground.