$positionDetectionPattern
$positionDetectionPattern : array
Position detection pattern.
Matrix utility.
clearMatrix(\BaconQrCode\Encoder\ByteMatrix $matrix) : void
Clears a given matrix.
\BaconQrCode\Encoder\ByteMatrix | $matrix |
buildMatrix(\BaconQrCode\Common\BitArray $dataBits, \BaconQrCode\Common\ErrorCorrectionLevel $level, \BaconQrCode\Common\Version $version, integer $maskPattern, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Builds a complete matrix.
\BaconQrCode\Common\BitArray | $dataBits | |
\BaconQrCode\Common\ErrorCorrectionLevel | $level | |
\BaconQrCode\Common\Version | $version | |
integer | $maskPattern | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedTypeInfo(\BaconQrCode\Common\ErrorCorrectionLevel $level, integer $maskPattern, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds type information into a matrix.
\BaconQrCode\Common\ErrorCorrectionLevel | $level | |
integer | $maskPattern | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
makeTypeInfoBits(\BaconQrCode\Common\ErrorCorrectionLevel $level, integer $maskPattern, \BaconQrCode\Common\BitArray $bits) : void
Generates type information bits and appends them to a bit array.
\BaconQrCode\Common\ErrorCorrectionLevel | $level | |
integer | $maskPattern | |
\BaconQrCode\Common\BitArray | $bits |
maybeEmbedVersionInfo(\BaconQrCode\Common\Version $version, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds version information if required.
\BaconQrCode\Common\Version | $version | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
makeVersionInfoBits(\BaconQrCode\Common\Version $version, \BaconQrCode\Common\BitArray $bits) : void
Generates version information bits and appends them to a bit array.
\BaconQrCode\Common\Version | $version | |
\BaconQrCode\Common\BitArray | $bits |
embedBasicPatterns(\BaconQrCode\Common\Version $version, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds basic patterns into a matrix.
\BaconQrCode\Common\Version | $version | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedPositionDetectionPatternsAndSeparators(\BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds position detection patterns and separators into a byte matrix.
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedPositionDetectionPattern(integer $xStart, integer $yStart, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds a single position detection pattern into a byte matrix.
integer | $xStart | |
integer | $yStart | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedHorizontalSeparationPattern(integer $xStart, integer $yStart, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds a single horizontal separation pattern.
integer | $xStart | |
integer | $yStart | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedVerticalSeparationPattern(integer $xStart, integer $yStart, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds a single vertical separation pattern.
integer | $xStart | |
integer | $yStart | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedDarkDotAtLeftBottomCorner(\BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds a dot at the left bottom corner.
\BaconQrCode\Encoder\ByteMatrix | $matrix |
maybeEmbedPositionAdjustmentPatterns(\BaconQrCode\Common\Version $version, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds position adjustment patterns if required.
\BaconQrCode\Common\Version | $version | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedPositionAdjustmentPattern(integer $xStart, \BaconQrCode\Encoder\intger $yStart, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds a single position adjustment pattern.
integer | $xStart | |
\BaconQrCode\Encoder\intger | $yStart | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedTimingPatterns(\BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds timing patterns into a matrix.
\BaconQrCode\Encoder\ByteMatrix | $matrix |
embedDataBits(\BaconQrCode\Common\BitArray $dataBits, integer $maskPattern, \BaconQrCode\Encoder\ByteMatrix $matrix) : void
Embeds "dataBits" using "getMaskPattern".
For debugging purposes, it skips masking process if "getMaskPattern" is -1. See 8.7 of JISX0510:2004 (p.38) for how to embed data bits.
\BaconQrCode\Common\BitArray | $dataBits | |
integer | $maskPattern | |
\BaconQrCode\Encoder\ByteMatrix | $matrix |
Loading…