//qrcode-kotlin/qrcode/QRCode/Companion

Companion

[common]
object Companion

Properties

Name Summary
DEFAULT_SQUARE_SIZE [common]
const val DEFAULT_SQUARE_SIZE: Int
Default value of squareSize.

Functions

Name Summary
ofCircles [common]
@JvmStatic
fun ofCircles(): QRCodeBuilder
Creates a new QRCodeBuilder to build a Fancy QRCode which uses circles as the base shape.
ofCustomShape [common]
@JvmStatic
fun ofCustomShape(customShapeFunction: QRCodeShapeFunction): QRCodeBuilder
Creates a new QRCodeBuilder to build a QRCode which uses a custom shape function.
ofRoundedSquares [common]
@JvmStatic
fun ofRoundedSquares(): QRCodeBuilder
Creates a new QRCodeBuilder to build a Fancy QRCode which uses rounded squares as the base shape.
ofSquares [common]
@JvmStatic
fun ofSquares(): QRCodeBuilder
Creates a new QRCodeBuilder to build a Fancy QRCode which uses squares as the base shape (this is the default)