QrShapes

@Immutable
class QrShapes(val code: QrCodeShape = QrCodeShape.Default, val darkPixel: QrPixelShape = QrPixelShape.Default, val lightPixel: QrPixelShape = QrPixelShape.Default, val ball: QrBallShape = QrBallShape.Default, val frame: QrFrameShape = QrFrameShape.Default, val centralSymmetry: Boolean = true)

Shapes of QR code elements

Parameters

code

shape of the QR code pattern.

darkPixel

shape of the dark QR code pixels

lightPixel

shape of the light QR code pixels

ball

shape of the QR code eye balls

frame

shape of the QR code eye frames

centralSymmetry

if true, ball and frame shapes will be turned to the center according to the current corner

Constructors

Link copied to clipboard
constructor(code: QrCodeShape = QrCodeShape.Default, darkPixel: QrPixelShape = QrPixelShape.Default, lightPixel: QrPixelShape = QrPixelShape.Default, ball: QrBallShape = QrBallShape.Default, frame: QrFrameShape = QrFrameShape.Default, centralSymmetry: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(code: QrCodeShape = this.code, darkPixel: QrPixelShape = this.darkPixel, lightPixel: QrPixelShape = this.lightPixel, ball: QrBallShape = this.ball, frame: QrFrameShape = this.frame, centralSymmetry: Boolean = this.centralSymmetry): QrShapes
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int