public class Code16KParameters
extends java.lang.Object
Code16K parameters.
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
int |
getQuietZoneLeftCoef()
Size of the left quiet zone in xDimension.
|
int |
getQuietZoneRightCoef()
Size of the right quiet zone in xDimension.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setQuietZoneLeftCoef(int value)
Size of the left quiet zone in xDimension.
|
void |
setQuietZoneRightCoef(int value)
Size of the right quiet zone in xDimension.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
Code16KParameters . |
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
public int getQuietZoneLeftCoef()
Size of the left quiet zone in xDimension. Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.
public void setQuietZoneLeftCoef(int value)
Size of the left quiet zone in xDimension. Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.
public int getQuietZoneRightCoef()
Size of the right quiet zone in xDimension. Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.
public void setQuietZoneRightCoef(int value)
Size of the right quiet zone in xDimension. Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.
public java.lang.String toString()
Returns a human-readable string representation of this Code16KParameters
.
toString
in class java.lang.Object
Code16KParameters
.