Methods

Name Returns Notes Example
content ( content ) QrCodeBuilder Raw content to encode See these documentations for details.
outputType ( outputType ) QrCodeBuilder Image type to export, e.g. PNG, JPEG
errorCorrectionLevel ( errorCorrectionLevel ) QrCodeBuilder L = ~7% correction, M = ~15% correction, Q = ~25% correction, H = ~30% correction
width ( width ) QrCodeBuilder
height ( height ) QrCodeBuilder
borderMargin ( borderMargin ) QrCodeBuilder Sets the border around the QR Code, use -1 to disable border
backgroundColor ( backgroundColor ) QrCodeBuilder Set's the background color using an ARGB integer value. e.g. #FF002233 = 4278198835
backgroundColorHex ( hexString ) QrCodeBuilder Set's the background color using an ARGb or RGB HTML Hex String e.g. #FF002233 or #002233
pixelColor ( pixelColor ) QrCodeBuilder Set's the pixel color using an ARGB integer value. e.g. #FF002233 = 4278198835
pixelColorHex ( hexString ) QrCodeBuilder Set's the pixel color using an ARGb or RGB HTML Hex String e.g. #FF002233 or #002233
build ( ) byte Returns byte array with image data
buildAsString ( ) String Returns Base64 encoded Image
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.