DataMatrixPainter
class DataMatrixPainter(symbol: DataMatrixSymbol, quietZone: Int = Gs1DataMatrix.QUIET_ZONE_MODULES, darkColor: Color = Color.Black, lightColor: Color = Color.White) : Painter(source)
Draws a GS1 DataMatrix symbol, centred and as large as fits, with whole-pixel modules.
The painter has no intrinsic size: give the Image (or whatever uses it) a size.
Constructors
Link copied to clipboard
constructor(symbol: DataMatrixSymbol, quietZone: Int = Gs1DataMatrix.QUIET_ZONE_MODULES, darkColor: Color = Color.Black, lightColor: Color = Color.White)