Skip to content

QrBallShape

Alexander Zhirkevich edited this page Sep 5, 2022 · 2 revisions

Shape of the QR code eye ball.

fun interface QrBallShape : QrShapeModifier

Default implementations

Implementation Description
QrBallShape.Default Square shape
QrBallShape.AsPixelShape Special style for QR code ball - ball pixels will be counted as qr pixels. For example, QrPixelShape.Circle style will make QR code ball look like a square of 9 balls.
QrBallShape.Circle Circle shape
QrBallShape.Rhombus Rhombus shape
QrBallShape.RoundCorners Rounded corners shape

Comments

Any QrShapeModifier can be converted to QrBallShape using QrShapeModifier.asBallShape function

Clone this wiki locally