apidocs / com.nimmsta.core.android.util / MatrixToImageConfig / <init>

<init>

MatrixToImageConfig()

Creates a default config with on color #BLACK and off color #WHITE, generating normal black-on-white barcodes.

MatrixToImageConfig(onColor: Int, offColor: Int)

Parameters

onColor - Int: pixel on color, specified as an ARGB value as an int

offColor - Int: pixel off color, specified as an ARGB value as an int