quietZone property

int? quietZone
final

Thickness of a margin (=“quiet zone”, an area without disturbing elements to help readers locating the QR code), in modules as measuring unit.

This means a value of 1 leads to a drawn margin around the QR code which is as thick as a data pixel/module of the QR code. The quiet zone will always have the same color as the background

The quiet zone will be drawn in addition to an eventually set margin value.

Minimum Value: 0

Maximum Value: 100

Default Value: 0

Best Practice: An at least 1 module wide quiet zone is required for optimal scanning results. The QR code standard recommendes a “quiet zone” of 4.

Implementation

final int? quietZone;