Package com.google.zxing.client.j2se
Class MatrixToImageConfig
java.lang.Object
com.google.zxing.client.j2se.MatrixToImageConfig
Encapsulates custom configuration used in methods of
MatrixToImageWriter
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) int
int
int
-
Field Details
-
BLACK
public static final int BLACK- See Also:
-
WHITE
public static final int WHITE- See Also:
-
-
Constructor Details
-
MatrixToImageConfig
public MatrixToImageConfig() -
MatrixToImageConfig
public MatrixToImageConfig(int onColor, int offColor) - Parameters:
onColor
- pixel on color, specified as an ARGB value as an intoffColor
- pixel off color, specified as an ARGB value as an int
-
-
Method Details
-
getPixelOnColor
public int getPixelOnColor() -
getPixelOffColor
public int getPixelOffColor() -
getBufferedImageColorModel
int getBufferedImageColorModel()
-