QrLogo

@Stable
class QrLogo(val painter: Painter? = null, val size: Float = 0.25f, val padding: QrLogoPadding = QrLogoPadding.Empty, val shape: QrLogoShape = QrLogoShape.Default)

Logo (middle image) of the QR code.

Parameters

painter

middle image.

size

image size in fraction relative to QR code size

padding

style and size of the QR code padding. Can be used without painter if you want to place a logo manually.

shape

shape of the logo padding

Constructors

Link copied to clipboard
constructor(painter: Painter? = null, size: Float = 0.25f, padding: QrLogoPadding = QrLogoPadding.Empty, shape: QrLogoShape = QrLogoShape.Default)

Properties

Link copied to clipboard
Link copied to clipboard
val painter: Painter?
Link copied to clipboard
Link copied to clipboard
val size: Float

Functions

Link copied to clipboard
fun copy(painter: Painter? = this.painter, size: Float = this.size, padding: QrLogoPadding = this.padding, shape: QrLogoShape = this.shape): QrLogo
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int