Package-level declarations
Types
Link copied to clipboard
class QRCode @JvmOverloads constructor(val data: String, squareSize: Int = DEFAULT_SQUARE_SIZE, canvasSize: Int = DEFAULT_QRCODE_SIZE, val xOffset: Int = DEFAULT_X_OFFSET, val yOffset: Int = DEFAULT_Y_OFFSET, val colorFn: QRCodeColorFunction = DefaultColorFunction(), val shapeFn: QRCodeShapeFunction = DefaultShapeFunction(squareSize, innerSpace = 0), var graphicsFactory: QRCodeGraphicsFactory = QRCodeGraphicsFactory(), val errorCorrectionLevel: ErrorCorrectionLevel = ErrorCorrectionLevel.LOW, val informationDensity: Int = QRCodeProcessor.infoDensityForDataAndECL(data, errorCorrectionLevel), val maskPattern: MaskPattern = MaskPattern.PATTERN000, doBefore: QRCode.(QRCodeGraphics, Int, Int) -> Unit = EMPTY_FN, doAfter: QRCode.(QRCodeGraphics, Int, Int) -> Unit = EMPTY_FN)
A simple class to create easily create aesthetic pleasing QRCodes.
Link copied to clipboard
class QRCodeBuilder @JvmOverloads constructor(shape: QRCodeShapesEnum, customShapeFunction: QRCodeShapeFunction? = null)
Link copied to clipboard