Skip to main content
Skip table of contents

MatrixUtil

MatrixUtil Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf.qrcode
  iTextSharp.text.pdf.qrcode.MatrixUtil[[MatrixUtil]]
  end

Members

Methods

Public Static methods
ReturnsName
voidBuildMatrix(BitVector dataBits, ErrorCorrectionLevel ecLevel, int version, int maskPattern, ByteMatrix matrix)
intCalculateBCHCode(int value, int poly)
voidClearMatrix(ByteMatrix matrix)
voidEmbedBasicPatterns(int version, ByteMatrix matrix)
voidEmbedDataBits(BitVector dataBits, int maskPattern, ByteMatrix matrix)
voidEmbedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix)
intFindMSBSet(int value)
voidMakeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPattern, BitVector bits)
voidMakeVersionInfoBits(int version, BitVector bits)
voidMaybeEmbedVersionInfo(int version, ByteMatrix matrix)

Details

Methods

ClearMatrix

Source code

public static void ClearMatrix(ByteMatrix matrix)
Arguments
TypeNameDescription
ByteMatrixmatrix
BuildMatrix

Source code

public static void BuildMatrix(BitVector dataBits, ErrorCorrectionLevel ecLevel, int version, int maskPattern, ByteMatrix matrix)
Arguments
TypeNameDescription
BitVectordataBits
ErrorCorrectionLevelecLevel
intversion
intmaskPattern
ByteMatrixmatrix
EmbedBasicPatterns

Source code

public static void EmbedBasicPatterns(int version, ByteMatrix matrix)
Arguments
TypeNameDescription
intversion
ByteMatrixmatrix
EmbedTypeInfo

Source code

public static void EmbedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix)
Arguments
TypeNameDescription
ErrorCorrectionLevelecLevel
intmaskPattern
ByteMatrixmatrix
MaybeEmbedVersionInfo

Source code

public static void MaybeEmbedVersionInfo(int version, ByteMatrix matrix)
Arguments
TypeNameDescription
intversion
ByteMatrixmatrix
EmbedDataBits

Source code

public static void EmbedDataBits(BitVector dataBits, int maskPattern, ByteMatrix matrix)
Arguments
TypeNameDescription
BitVectordataBits
intmaskPattern
ByteMatrixmatrix
FindMSBSet

Source code

public static int FindMSBSet(int value)
Arguments
TypeNameDescription
intvalue
CalculateBCHCode

Source code

public static int CalculateBCHCode(int value, int poly)
Arguments
TypeNameDescription
intvalue
intpoly
MakeTypeInfoBits

Source code

public static void MakeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPattern, BitVector bits)
Arguments
TypeNameDescription
ErrorCorrectionLevelecLevel
intmaskPattern
BitVectorbits
MakeVersionInfoBits

Source code

public static void MakeVersionInfoBits(int version, BitVector bits)
Arguments
TypeNameDescription
intversion
BitVectorbits

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.