Class Code16KParameters


  • public class Code16KParameters
    extends java.lang.Object

    Code16K parameters.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getAspectRatio

        public float getAspectRatio()

        Height/Width ratio of 2D BarCode module.

      • setAspectRatio

        public void setAspectRatio​(float value)

        Height/Width ratio of 2D BarCode module.

      • getQuietZoneLeftCoef

        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.

      • setQuietZoneLeftCoef

        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.

      • getQuietZoneRightCoef

        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.

      • setQuietZoneRightCoef

        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.

      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this Code16KParameters.

        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents this Code16KParameters.