DataMatrixNode
data class DataMatrixNode(val data: String, val size: Dp? = null, val color: PdfColor = PdfColor.Black, val background: PdfColor? = PdfColor.White) : PdfNode
A Data Matrix (ECC 200) 2D symbol rendered as crisp vector squares.
The module matrix is computed in common code by com.conamobile.pdfkmp.barcode.DataMatrixEncoder; the smallest square symbol (10×10 … 52×52) that fits data is chosen automatically. ASCII encodation only — bytes above 127 are rejected at build time.
Like QR, Data Matrix expects a quiet zone (1 module here) — place it in a padded container or against the page margin.