Class QRCodeDecoderMetaData


  • public final class QRCodeDecoderMetaData
    extends java.lang.Object
    Meta-data container for QR Code decoding. Instances of this class may be used to convey information back to the decoding caller. Callers are expected to process this.
    See Also:
    DecoderResult.getOther()
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean mirrored  
    • Field Detail

      • mirrored

        private final boolean mirrored
    • Constructor Detail

      • QRCodeDecoderMetaData

        QRCodeDecoderMetaData​(boolean mirrored)
    • Method Detail

      • isMirrored

        public boolean isMirrored()
        Returns:
        true if the QR Code was mirrored.
      • applyMirroredCorrection

        public void applyMirroredCorrection​(ResultPoint[] points)
        Apply the result points' order correction due to mirroring.
        Parameters:
        points - Array of points to apply mirror correction to.