chillerlan-QRCode-Decoder-BitMatrix.html 182 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace">
  56. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  57. </h4>
  58. <ul class="phpdocumentor-list">
  59. <li>
  60. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  61. </li>
  62. <li>
  63. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  64. </li>
  65. </ul>
  66. </section>
  67. <section class="phpdocumentor-sidebar__category">
  68. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  69. <h4 class="phpdocumentor-sidebar__root-namespace">
  70. <a href="packages/Application.html" class="">Application</a>
  71. </h4>
  72. </section>
  73. <section class="phpdocumentor-sidebar__category">
  74. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  75. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  76. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  78. </section>
  79. <section class="phpdocumentor-sidebar__category">
  80. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  81. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  82. </section>
  83. </aside>
  84. <div class="phpdocumentor-column -eight phpdocumentor-content">
  85. <ul class="phpdocumentor-breadcrumbs">
  86. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  87. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  88. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-decoder.html">Decoder</a></li>
  89. </ul>
  90. <article class="phpdocumentor-element -class">
  91. <h2 class="phpdocumentor-content__title">
  92. BitMatrix
  93. <span class="phpdocumentor-element__extends">
  94. extends <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>
  95. </span>
  96. <div class="phpdocumentor-element__package">
  97. in package
  98. <ul class="phpdocumentor-breadcrumbs">
  99. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  100. </ul>
  101. </div>
  102. </h2>
  103. <aside class="phpdocumentor-element-found-in">
  104. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  105. :
  106. <span class="phpdocumentor-element-found-in__line">22</span>
  107. </aside>
  108. <p class="phpdocumentor-summary">Extended QRMatrix to map read data from the Binarizer</p>
  109. <h3 id="toc">
  110. Table of Contents
  111. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  112. </h3>
  113. <dl class="phpdocumentor-table-of-contents">
  114. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  115. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_IS_DARK">IS_DARK</a>
  116. <span>
  117. &nbsp;= 0b100000000000 </span>
  118. </dt>
  119. <dd></dd>
  120. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  121. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_ALIGNMENT">M_ALIGNMENT</a>
  122. <span>
  123. &nbsp;= 0b10000 </span>
  124. </dt>
  125. <dd></dd>
  126. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  127. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_ALIGNMENT_DARK">M_ALIGNMENT_DARK</a>
  128. <span>
  129. &nbsp;= 0b100000010000 </span>
  130. </dt>
  131. <dd></dd>
  132. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  133. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_DARKMODULE">M_DARKMODULE</a>
  134. <span>
  135. &nbsp;= 0b100000000001 </span>
  136. </dt>
  137. <dd></dd>
  138. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  139. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_DATA">M_DATA</a>
  140. <span>
  141. &nbsp;= 0b10 </span>
  142. </dt>
  143. <dd></dd>
  144. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  145. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_DATA_DARK">M_DATA_DARK</a>
  146. <span>
  147. &nbsp;= 0b100000000010 </span>
  148. </dt>
  149. <dd></dd>
  150. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  151. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FINDER">M_FINDER</a>
  152. <span>
  153. &nbsp;= 0b100 </span>
  154. </dt>
  155. <dd></dd>
  156. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  157. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FINDER_DARK">M_FINDER_DARK</a>
  158. <span>
  159. &nbsp;= 0b100000000100 </span>
  160. </dt>
  161. <dd></dd>
  162. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  163. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FINDER_DOT">M_FINDER_DOT</a>
  164. <span>
  165. &nbsp;= 0b110000000000 </span>
  166. </dt>
  167. <dd></dd>
  168. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  169. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FORMAT">M_FORMAT</a>
  170. <span>
  171. &nbsp;= 0b1000000 </span>
  172. </dt>
  173. <dd></dd>
  174. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  175. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FORMAT_DARK">M_FORMAT_DARK</a>
  176. <span>
  177. &nbsp;= 0b100001000000 </span>
  178. </dt>
  179. <dd></dd>
  180. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  181. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_LOGO">M_LOGO</a>
  182. <span>
  183. &nbsp;= 0b1000000000 </span>
  184. </dt>
  185. <dd></dd>
  186. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  187. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_NULL">M_NULL</a>
  188. <span>
  189. &nbsp;= 0b0 </span>
  190. </dt>
  191. <dd></dd>
  192. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  193. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_QUIETZONE">M_QUIETZONE</a>
  194. <span>
  195. &nbsp;= 0b100000000 </span>
  196. </dt>
  197. <dd></dd>
  198. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  199. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_SEPARATOR">M_SEPARATOR</a>
  200. <span>
  201. &nbsp;= 0b1000 </span>
  202. </dt>
  203. <dd></dd>
  204. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  205. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TEST">M_TEST</a>
  206. <span>
  207. &nbsp;= 0b11111111111 </span>
  208. </dt>
  209. <dd></dd>
  210. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  211. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TEST_DARK">M_TEST_DARK</a>
  212. <span>
  213. &nbsp;= 0b111111111111 </span>
  214. </dt>
  215. <dd></dd>
  216. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  217. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TIMING">M_TIMING</a>
  218. <span>
  219. &nbsp;= 0b100000 </span>
  220. </dt>
  221. <dd></dd>
  222. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  223. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TIMING_DARK">M_TIMING_DARK</a>
  224. <span>
  225. &nbsp;= 0b100000100000 </span>
  226. </dt>
  227. <dd></dd>
  228. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  229. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_VERSION">M_VERSION</a>
  230. <span>
  231. &nbsp;= 0b10000000 </span>
  232. </dt>
  233. <dd></dd>
  234. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  235. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_VERSION_DARK">M_VERSION_DARK</a>
  236. <span>
  237. &nbsp;= 0b100010000000 </span>
  238. </dt>
  239. <dd></dd>
  240. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  241. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_neighbours">neighbours</a>
  242. <span>
  243. &nbsp;= [0b1 =&gt; [-1, -1], 0b10 =&gt; [0, -1], 0b100 =&gt; [1, -1], 0b1000 =&gt; [1, 0], 0b10000 =&gt; [1, 1], 0b100000 =&gt; [0, 1], 0b1000000 =&gt; [-1, 1], 0b10000000 =&gt; [-1, 0]] </span>
  244. </dt>
  245. <dd>Map of flag =&gt; coord</dd>
  246. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  247. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#constant_DECODE_LOOKUP">DECODE_LOOKUP</a>
  248. <span>
  249. &nbsp;= [
  250. 0x5412,
  251. // 0101010000010010
  252. 0x5125,
  253. // 0101000100100101
  254. 0x5e7c,
  255. // 0101111001111100
  256. 0x5b4b,
  257. // 0101101101001011
  258. 0x45f9,
  259. // 0100010111111001
  260. 0x40ce,
  261. // 0100000011001110
  262. 0x4f97,
  263. // 0100111110010111
  264. 0x4aa0,
  265. // 0100101010100000
  266. 0x77c4,
  267. // 0111011111000100
  268. 0x72f3,
  269. // 0111001011110011
  270. 0x7daa,
  271. // 0111110110101010
  272. 0x789d,
  273. // 0111100010011101
  274. 0x662f,
  275. // 0110011000101111
  276. 0x6318,
  277. // 0110001100011000
  278. 0x6c41,
  279. // 0110110001000001
  280. 0x6976,
  281. // 0110100101110110
  282. 0x1689,
  283. // 0001011010001001
  284. 0x13be,
  285. // 0001001110111110
  286. 0x1ce7,
  287. // 0001110011100111
  288. 0x19d0,
  289. // 0001100111010000
  290. 0x762,
  291. // 0000011101100010
  292. 0x255,
  293. // 0000001001010101
  294. 0xd0c,
  295. // 0000110100001100
  296. 0x83b,
  297. // 0000100000111011
  298. 0x355f,
  299. // 0011010101011111
  300. 0x3068,
  301. // 0011000001101000
  302. 0x3f31,
  303. // 0011111100110001
  304. 0x3a06,
  305. // 0011101000000110
  306. 0x24b4,
  307. // 0010010010110100
  308. 0x2183,
  309. // 0010000110000011
  310. 0x2eda,
  311. // 0010111011011010
  312. 0x2bed,
  313. ] </span>
  314. </dt>
  315. <dd>See ISO 18004:2006, Annex C, Table C.1</dd>
  316. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  317. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#constant_FORMAT_INFO_MASK_QR">FORMAT_INFO_MASK_QR</a>
  318. <span>
  319. &nbsp;= 0x5412 </span>
  320. </dt>
  321. <dd></dd>
  322. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  323. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_eccLevel">$eccLevel</a>
  324. <span>
  325. &nbsp;: <a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null </span>
  326. </dt>
  327. <dd>the current ECC level - always set in QRMatrix, may be null in BitMatrix</dd>
  328. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  329. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_maskPattern">$maskPattern</a>
  330. <span>
  331. &nbsp;: <a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null </span>
  332. </dt>
  333. <dd>the mask pattern that was used in the most recent operation, set via:</dd>
  334. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  335. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_matrix">$matrix</a>
  336. <span>
  337. &nbsp;: array&lt;string|int, mixed&gt; </span>
  338. </dt>
  339. <dd>the actual matrix data array</dd>
  340. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  341. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_moduleCount">$moduleCount</a>
  342. <span>
  343. &nbsp;: int </span>
  344. </dt>
  345. <dd>the size (side length) of the matrix, including quiet zone (if created)</dd>
  346. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  347. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_version">$version</a>
  348. <span>
  349. &nbsp;: <a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null </span>
  350. </dt>
  351. <dd>the matrix version - always set in QRMatrix, may be null in BitMatrix</dd>
  352. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  353. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#property_mirror">$mirror</a>
  354. <span>
  355. &nbsp;: bool </span>
  356. </dt>
  357. <dd>This flag has effect only on the copyVersionBit() method.</dd>
  358. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  359. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method___construct">__construct()</a>
  360. <span>
  361. &nbsp;: mixed </span>
  362. </dt>
  363. <dd>QRMatrix constructor.</dd>
  364. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  365. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_check">check()</a>
  366. <span>
  367. &nbsp;: bool </span>
  368. </dt>
  369. <dd>Checks whether the module at ($x, $y) is true (dark) or false (light)</dd>
  370. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  371. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkNeighbours">checkNeighbours()</a>
  372. <span>
  373. &nbsp;: int </span>
  374. </dt>
  375. <dd>Checks the status of the neighbouring modules for the module at ($x, $y) and returns a bitmask with the results.</dd>
  376. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  377. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkType">checkType()</a>
  378. <span>
  379. &nbsp;: bool </span>
  380. </dt>
  381. <dd>Checks whether the module at ($x, $y) is of the given $M_TYPE</dd>
  382. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  383. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkTypeIn">checkTypeIn()</a>
  384. <span>
  385. &nbsp;: bool </span>
  386. </dt>
  387. <dd>checks whether the module at ($x, $y) is in the given array of $M_TYPES,
  388. returns true if a match is found, otherwise false.</dd>
  389. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  390. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_eccLevel">eccLevel()</a>
  391. <span>
  392. &nbsp;: <a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null </span>
  393. </dt>
  394. <dd></dd>
  395. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  396. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_flip">flip()</a>
  397. <span>
  398. &nbsp;: self </span>
  399. </dt>
  400. <dd>Flips the value of the module at ($x, $y)</dd>
  401. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  402. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_get">get()</a>
  403. <span>
  404. &nbsp;: int </span>
  405. </dt>
  406. <dd>Returns the value of the module at position [$x, $y] or -1 if the coordinate is outside the matrix</dd>
  407. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  408. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getEccLevel">getEccLevel()</a>
  409. <span>
  410. &nbsp;: <a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null </span>
  411. </dt>
  412. <dd>Returns the current ECC level</dd>
  413. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  414. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getMaskPattern">getMaskPattern()</a>
  415. <span>
  416. &nbsp;: <a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null </span>
  417. </dt>
  418. <dd>Returns the current mask pattern</dd>
  419. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  420. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getMatrix">getMatrix()</a>
  421. <span>
  422. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt;|array&lt;string|int, array&lt;string|int, bool&gt;&gt; </span>
  423. </dt>
  424. <dd>Returns the data matrix, returns a pure boolean representation if $boolean is set to true</dd>
  425. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  426. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getSize">getSize()</a>
  427. <span>
  428. &nbsp;: int </span>
  429. </dt>
  430. <dd>Returns the absoulute size of the matrix, including quiet zone (after setting it).</dd>
  431. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  432. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getVersion">getVersion()</a>
  433. <span>
  434. &nbsp;: <a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null </span>
  435. </dt>
  436. <dd>Returns the current version number</dd>
  437. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  438. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_initFunctionalPatterns">initFunctionalPatterns()</a>
  439. <span>
  440. &nbsp;: self </span>
  441. </dt>
  442. <dd>shortcut to initialize the functional patterns</dd>
  443. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  444. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_mask">mask()</a>
  445. <span>
  446. &nbsp;: self </span>
  447. </dt>
  448. <dd>Applies/reverses the mask pattern</dd>
  449. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  450. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_maskPattern">maskPattern()</a>
  451. <span>
  452. &nbsp;: <a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null </span>
  453. </dt>
  454. <dd></dd>
  455. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  456. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_matrix">matrix()</a>
  457. <span>
  458. &nbsp;: array&lt;string|int, mixed&gt; </span>
  459. </dt>
  460. <dd></dd>
  461. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  462. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_mirrorDiagonal">mirrorDiagonal()</a>
  463. <span>
  464. &nbsp;: self </span>
  465. </dt>
  466. <dd>Mirror the bit matrix diagonally in order to attempt a second reading.</dd>
  467. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  468. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_readCodewords">readCodewords()</a>
  469. <span>
  470. &nbsp;: array&lt;string|int, mixed&gt; </span>
  471. </dt>
  472. <dd>Reads the bits in the BitMatrix representing the finder pattern in the
  473. correct order in order to reconstruct the codewords bytes contained within the
  474. QR Code. Throws if the exact number of bytes expected is not read.</dd>
  475. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  476. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_resetVersionInfo">resetVersionInfo()</a>
  477. <span>
  478. &nbsp;: self </span>
  479. </dt>
  480. <dd>Resets the current version info in order to attempt another reading</dd>
  481. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  482. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_set">set()</a>
  483. <span>
  484. &nbsp;: self </span>
  485. </dt>
  486. <dd>Sets the $M_TYPE value for the module at position [$x, $y]</dd>
  487. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  488. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setAlignmentPattern">setAlignmentPattern()</a>
  489. <span>
  490. &nbsp;: self </span>
  491. </dt>
  492. <dd>Draws the 5x5 alignment patterns</dd>
  493. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  494. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setArea">setArea()</a>
  495. <span>
  496. &nbsp;: self </span>
  497. </dt>
  498. <dd>Fills an area of $width * $height, from the given starting point [$startX, $startY] (top left) with $value for $M_TYPE.</dd>
  499. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  500. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setDarkModule">setDarkModule()</a>
  501. <span>
  502. &nbsp;: self </span>
  503. </dt>
  504. <dd>Sets the &quot;dark module&quot;, that is always on the same position 1x1px away from the bottom left finder</dd>
  505. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  506. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setFinderPattern">setFinderPattern()</a>
  507. <span>
  508. &nbsp;: self </span>
  509. </dt>
  510. <dd>Draws the 7x7 finder patterns in the corners top left/right and bottom left</dd>
  511. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  512. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setFormatInfo">setFormatInfo()</a>
  513. <span>
  514. &nbsp;: self </span>
  515. </dt>
  516. <dd>Draws the format info along the finder patterns. If no $maskPattern, all format info modules will be set to false.</dd>
  517. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  518. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_setLogoSpace">setLogoSpace()</a>
  519. <span>
  520. &nbsp;: self </span>
  521. </dt>
  522. <dd>Clears a space of $width * $height in order to add a logo or text.</dd>
  523. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  524. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_setQuietZone">setQuietZone()</a>
  525. <span>
  526. &nbsp;: self </span>
  527. </dt>
  528. <dd>Draws the &quot;quiet zone&quot; of $size around the matrix</dd>
  529. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  530. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setSeparators">setSeparators()</a>
  531. <span>
  532. &nbsp;: self </span>
  533. </dt>
  534. <dd>Draws the separator lines around the finder patterns</dd>
  535. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  536. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setTimingPattern">setTimingPattern()</a>
  537. <span>
  538. &nbsp;: self </span>
  539. </dt>
  540. <dd>Draws the timing pattern (h/v checkered line between the finder patterns)</dd>
  541. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  542. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setVersionNumber">setVersionNumber()</a>
  543. <span>
  544. &nbsp;: self </span>
  545. </dt>
  546. <dd>Draws the version information, 2x 3x6 pixel</dd>
  547. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  548. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_size">size()</a>
  549. <span>
  550. &nbsp;: int </span>
  551. </dt>
  552. <dd></dd>
  553. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  554. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_version">version()</a>
  555. <span>
  556. &nbsp;: <a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null </span>
  557. </dt>
  558. <dd></dd>
  559. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  560. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_writeCodewords">writeCodewords()</a>
  561. <span>
  562. &nbsp;: self </span>
  563. </dt>
  564. <dd>Maps the interleaved binary $data on the matrix</dd>
  565. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  566. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_createMatrix">createMatrix()</a>
  567. <span>
  568. &nbsp;: array&lt;string|int, mixed&gt; </span>
  569. </dt>
  570. <dd>Creates a 2-dimensional array (square) of the given $size</dd>
  571. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  572. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_copyVersionBit">copyVersionBit()</a>
  573. <span>
  574. &nbsp;: int </span>
  575. </dt>
  576. <dd></dd>
  577. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  578. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_decodeVersionInformation">decodeVersionInformation()</a>
  579. <span>
  580. &nbsp;: <a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null </span>
  581. </dt>
  582. <dd>Decodes the version information from the given bit sequence, returns null if no valid match is found.</dd>
  583. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  584. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_doDecodeFormatInformation">doDecodeFormatInformation()</a>
  585. <span>
  586. &nbsp;: int|null </span>
  587. </dt>
  588. <dd>Returns information about the format it specifies, or null if it doesn&#039;t seem to match any known pattern</dd>
  589. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  590. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_numBitsDiffering">numBitsDiffering()</a>
  591. <span>
  592. &nbsp;: int </span>
  593. </dt>
  594. <dd></dd>
  595. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  596. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_readFormatInformation">readFormatInformation()</a>
  597. <span>
  598. &nbsp;: self </span>
  599. </dt>
  600. <dd>Reads format information from one of its two locations within the QR Code.</dd>
  601. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  602. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_readVersion">readVersion()</a>
  603. <span>
  604. &nbsp;: self </span>
  605. </dt>
  606. <dd>Reads version information from one of its two locations within the QR Code.</dd>
  607. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  608. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_uRShift">uRShift()</a>
  609. <span>
  610. &nbsp;: int </span>
  611. </dt>
  612. <dd></dd>
  613. </dl>
  614. <section class="phpdocumentor-constants">
  615. <h3 class="phpdocumentor-elements__header" id="constants">
  616. Constants
  617. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  618. </h3>
  619. <article class="phpdocumentor-element -constant -public ">
  620. <h4 class="phpdocumentor-element__name" id="constant_IS_DARK">
  621. IS_DARK
  622. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_IS_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  623. </h4>
  624. <aside class="phpdocumentor-element-found-in">
  625. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  626. :
  627. <span class="phpdocumentor-element-found-in__line">25</span>
  628. </aside>
  629. <code class="phpdocumentor-signature phpdocumentor-code ">
  630. <span class="phpdocumentor-signature__visibility">public</span>
  631. <span class="phpdocumentor-signature__type">int</span>
  632. <span class="phpdocumentor-signature__name">IS_DARK</span>
  633. = <span class="phpdocumentor-signature__default-value">0b100000000000</span>
  634. </code>
  635. </article>
  636. <article class="phpdocumentor-element -constant -public ">
  637. <h4 class="phpdocumentor-element__name" id="constant_M_ALIGNMENT">
  638. M_ALIGNMENT
  639. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_ALIGNMENT" class="headerlink"><i class="fas fa-link"></i></a>
  640. </h4>
  641. <aside class="phpdocumentor-element-found-in">
  642. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  643. :
  644. <span class="phpdocumentor-element-found-in__line">41</span>
  645. </aside>
  646. <code class="phpdocumentor-signature phpdocumentor-code ">
  647. <span class="phpdocumentor-signature__visibility">public</span>
  648. <span class="phpdocumentor-signature__type">int</span>
  649. <span class="phpdocumentor-signature__name">M_ALIGNMENT</span>
  650. = <span class="phpdocumentor-signature__default-value">0b10000</span>
  651. </code>
  652. </article>
  653. <article class="phpdocumentor-element -constant -public ">
  654. <h4 class="phpdocumentor-element__name" id="constant_M_ALIGNMENT_DARK">
  655. M_ALIGNMENT_DARK
  656. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_ALIGNMENT_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  657. </h4>
  658. <aside class="phpdocumentor-element-found-in">
  659. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  660. :
  661. <span class="phpdocumentor-element-found-in__line">43</span>
  662. </aside>
  663. <code class="phpdocumentor-signature phpdocumentor-code ">
  664. <span class="phpdocumentor-signature__visibility">public</span>
  665. <span class="phpdocumentor-signature__type">int</span>
  666. <span class="phpdocumentor-signature__name">M_ALIGNMENT_DARK</span>
  667. = <span class="phpdocumentor-signature__default-value">0b100000010000</span>
  668. </code>
  669. </article>
  670. <article class="phpdocumentor-element -constant -public ">
  671. <h4 class="phpdocumentor-element__name" id="constant_M_DARKMODULE">
  672. M_DARKMODULE
  673. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_DARKMODULE" class="headerlink"><i class="fas fa-link"></i></a>
  674. </h4>
  675. <aside class="phpdocumentor-element-found-in">
  676. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  677. :
  678. <span class="phpdocumentor-element-found-in__line">29</span>
  679. </aside>
  680. <code class="phpdocumentor-signature phpdocumentor-code ">
  681. <span class="phpdocumentor-signature__visibility">public</span>
  682. <span class="phpdocumentor-signature__type">int</span>
  683. <span class="phpdocumentor-signature__name">M_DARKMODULE</span>
  684. = <span class="phpdocumentor-signature__default-value">0b100000000001</span>
  685. </code>
  686. </article>
  687. <article class="phpdocumentor-element -constant -public ">
  688. <h4 class="phpdocumentor-element__name" id="constant_M_DATA">
  689. M_DATA
  690. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_DATA" class="headerlink"><i class="fas fa-link"></i></a>
  691. </h4>
  692. <aside class="phpdocumentor-element-found-in">
  693. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  694. :
  695. <span class="phpdocumentor-element-found-in__line">31</span>
  696. </aside>
  697. <code class="phpdocumentor-signature phpdocumentor-code ">
  698. <span class="phpdocumentor-signature__visibility">public</span>
  699. <span class="phpdocumentor-signature__type">int</span>
  700. <span class="phpdocumentor-signature__name">M_DATA</span>
  701. = <span class="phpdocumentor-signature__default-value">0b10</span>
  702. </code>
  703. </article>
  704. <article class="phpdocumentor-element -constant -public ">
  705. <h4 class="phpdocumentor-element__name" id="constant_M_DATA_DARK">
  706. M_DATA_DARK
  707. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_DATA_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  708. </h4>
  709. <aside class="phpdocumentor-element-found-in">
  710. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  711. :
  712. <span class="phpdocumentor-element-found-in__line">33</span>
  713. </aside>
  714. <code class="phpdocumentor-signature phpdocumentor-code ">
  715. <span class="phpdocumentor-signature__visibility">public</span>
  716. <span class="phpdocumentor-signature__type">int</span>
  717. <span class="phpdocumentor-signature__name">M_DATA_DARK</span>
  718. = <span class="phpdocumentor-signature__default-value">0b100000000010</span>
  719. </code>
  720. </article>
  721. <article class="phpdocumentor-element -constant -public ">
  722. <h4 class="phpdocumentor-element__name" id="constant_M_FINDER">
  723. M_FINDER
  724. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FINDER" class="headerlink"><i class="fas fa-link"></i></a>
  725. </h4>
  726. <aside class="phpdocumentor-element-found-in">
  727. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  728. :
  729. <span class="phpdocumentor-element-found-in__line">35</span>
  730. </aside>
  731. <code class="phpdocumentor-signature phpdocumentor-code ">
  732. <span class="phpdocumentor-signature__visibility">public</span>
  733. <span class="phpdocumentor-signature__type">int</span>
  734. <span class="phpdocumentor-signature__name">M_FINDER</span>
  735. = <span class="phpdocumentor-signature__default-value">0b100</span>
  736. </code>
  737. </article>
  738. <article class="phpdocumentor-element -constant -public ">
  739. <h4 class="phpdocumentor-element__name" id="constant_M_FINDER_DARK">
  740. M_FINDER_DARK
  741. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FINDER_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  742. </h4>
  743. <aside class="phpdocumentor-element-found-in">
  744. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  745. :
  746. <span class="phpdocumentor-element-found-in__line">37</span>
  747. </aside>
  748. <code class="phpdocumentor-signature phpdocumentor-code ">
  749. <span class="phpdocumentor-signature__visibility">public</span>
  750. <span class="phpdocumentor-signature__type">int</span>
  751. <span class="phpdocumentor-signature__name">M_FINDER_DARK</span>
  752. = <span class="phpdocumentor-signature__default-value">0b100000000100</span>
  753. </code>
  754. </article>
  755. <article class="phpdocumentor-element -constant -public ">
  756. <h4 class="phpdocumentor-element__name" id="constant_M_FINDER_DOT">
  757. M_FINDER_DOT
  758. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FINDER_DOT" class="headerlink"><i class="fas fa-link"></i></a>
  759. </h4>
  760. <aside class="phpdocumentor-element-found-in">
  761. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  762. :
  763. <span class="phpdocumentor-element-found-in__line">61</span>
  764. </aside>
  765. <code class="phpdocumentor-signature phpdocumentor-code ">
  766. <span class="phpdocumentor-signature__visibility">public</span>
  767. <span class="phpdocumentor-signature__type">int</span>
  768. <span class="phpdocumentor-signature__name">M_FINDER_DOT</span>
  769. = <span class="phpdocumentor-signature__default-value">0b110000000000</span>
  770. </code>
  771. </article>
  772. <article class="phpdocumentor-element -constant -public ">
  773. <h4 class="phpdocumentor-element__name" id="constant_M_FORMAT">
  774. M_FORMAT
  775. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FORMAT" class="headerlink"><i class="fas fa-link"></i></a>
  776. </h4>
  777. <aside class="phpdocumentor-element-found-in">
  778. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  779. :
  780. <span class="phpdocumentor-element-found-in__line">49</span>
  781. </aside>
  782. <code class="phpdocumentor-signature phpdocumentor-code ">
  783. <span class="phpdocumentor-signature__visibility">public</span>
  784. <span class="phpdocumentor-signature__type">int</span>
  785. <span class="phpdocumentor-signature__name">M_FORMAT</span>
  786. = <span class="phpdocumentor-signature__default-value">0b1000000</span>
  787. </code>
  788. </article>
  789. <article class="phpdocumentor-element -constant -public ">
  790. <h4 class="phpdocumentor-element__name" id="constant_M_FORMAT_DARK">
  791. M_FORMAT_DARK
  792. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_FORMAT_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  793. </h4>
  794. <aside class="phpdocumentor-element-found-in">
  795. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  796. :
  797. <span class="phpdocumentor-element-found-in__line">51</span>
  798. </aside>
  799. <code class="phpdocumentor-signature phpdocumentor-code ">
  800. <span class="phpdocumentor-signature__visibility">public</span>
  801. <span class="phpdocumentor-signature__type">int</span>
  802. <span class="phpdocumentor-signature__name">M_FORMAT_DARK</span>
  803. = <span class="phpdocumentor-signature__default-value">0b100001000000</span>
  804. </code>
  805. </article>
  806. <article class="phpdocumentor-element -constant -public ">
  807. <h4 class="phpdocumentor-element__name" id="constant_M_LOGO">
  808. M_LOGO
  809. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_LOGO" class="headerlink"><i class="fas fa-link"></i></a>
  810. </h4>
  811. <aside class="phpdocumentor-element-found-in">
  812. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  813. :
  814. <span class="phpdocumentor-element-found-in__line">59</span>
  815. </aside>
  816. <code class="phpdocumentor-signature phpdocumentor-code ">
  817. <span class="phpdocumentor-signature__visibility">public</span>
  818. <span class="phpdocumentor-signature__type">int</span>
  819. <span class="phpdocumentor-signature__name">M_LOGO</span>
  820. = <span class="phpdocumentor-signature__default-value">0b1000000000</span>
  821. </code>
  822. </article>
  823. <article class="phpdocumentor-element -constant -public ">
  824. <h4 class="phpdocumentor-element__name" id="constant_M_NULL">
  825. M_NULL
  826. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_NULL" class="headerlink"><i class="fas fa-link"></i></a>
  827. </h4>
  828. <aside class="phpdocumentor-element-found-in">
  829. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  830. :
  831. <span class="phpdocumentor-element-found-in__line">27</span>
  832. </aside>
  833. <code class="phpdocumentor-signature phpdocumentor-code ">
  834. <span class="phpdocumentor-signature__visibility">public</span>
  835. <span class="phpdocumentor-signature__type">int</span>
  836. <span class="phpdocumentor-signature__name">M_NULL</span>
  837. = <span class="phpdocumentor-signature__default-value">0b0</span>
  838. </code>
  839. </article>
  840. <article class="phpdocumentor-element -constant -public ">
  841. <h4 class="phpdocumentor-element__name" id="constant_M_QUIETZONE">
  842. M_QUIETZONE
  843. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_QUIETZONE" class="headerlink"><i class="fas fa-link"></i></a>
  844. </h4>
  845. <aside class="phpdocumentor-element-found-in">
  846. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  847. :
  848. <span class="phpdocumentor-element-found-in__line">57</span>
  849. </aside>
  850. <code class="phpdocumentor-signature phpdocumentor-code ">
  851. <span class="phpdocumentor-signature__visibility">public</span>
  852. <span class="phpdocumentor-signature__type">int</span>
  853. <span class="phpdocumentor-signature__name">M_QUIETZONE</span>
  854. = <span class="phpdocumentor-signature__default-value">0b100000000</span>
  855. </code>
  856. </article>
  857. <article class="phpdocumentor-element -constant -public ">
  858. <h4 class="phpdocumentor-element__name" id="constant_M_SEPARATOR">
  859. M_SEPARATOR
  860. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_SEPARATOR" class="headerlink"><i class="fas fa-link"></i></a>
  861. </h4>
  862. <aside class="phpdocumentor-element-found-in">
  863. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  864. :
  865. <span class="phpdocumentor-element-found-in__line">39</span>
  866. </aside>
  867. <code class="phpdocumentor-signature phpdocumentor-code ">
  868. <span class="phpdocumentor-signature__visibility">public</span>
  869. <span class="phpdocumentor-signature__type">int</span>
  870. <span class="phpdocumentor-signature__name">M_SEPARATOR</span>
  871. = <span class="phpdocumentor-signature__default-value">0b1000</span>
  872. </code>
  873. </article>
  874. <article class="phpdocumentor-element -constant -public ">
  875. <h4 class="phpdocumentor-element__name" id="constant_M_TEST">
  876. M_TEST
  877. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TEST" class="headerlink"><i class="fas fa-link"></i></a>
  878. </h4>
  879. <aside class="phpdocumentor-element-found-in">
  880. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  881. :
  882. <span class="phpdocumentor-element-found-in__line">63</span>
  883. </aside>
  884. <code class="phpdocumentor-signature phpdocumentor-code ">
  885. <span class="phpdocumentor-signature__visibility">public</span>
  886. <span class="phpdocumentor-signature__type">int</span>
  887. <span class="phpdocumentor-signature__name">M_TEST</span>
  888. = <span class="phpdocumentor-signature__default-value">0b11111111111</span>
  889. </code>
  890. </article>
  891. <article class="phpdocumentor-element -constant -public ">
  892. <h4 class="phpdocumentor-element__name" id="constant_M_TEST_DARK">
  893. M_TEST_DARK
  894. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TEST_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  895. </h4>
  896. <aside class="phpdocumentor-element-found-in">
  897. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  898. :
  899. <span class="phpdocumentor-element-found-in__line">65</span>
  900. </aside>
  901. <code class="phpdocumentor-signature phpdocumentor-code ">
  902. <span class="phpdocumentor-signature__visibility">public</span>
  903. <span class="phpdocumentor-signature__type">int</span>
  904. <span class="phpdocumentor-signature__name">M_TEST_DARK</span>
  905. = <span class="phpdocumentor-signature__default-value">0b111111111111</span>
  906. </code>
  907. </article>
  908. <article class="phpdocumentor-element -constant -public ">
  909. <h4 class="phpdocumentor-element__name" id="constant_M_TIMING">
  910. M_TIMING
  911. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TIMING" class="headerlink"><i class="fas fa-link"></i></a>
  912. </h4>
  913. <aside class="phpdocumentor-element-found-in">
  914. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  915. :
  916. <span class="phpdocumentor-element-found-in__line">45</span>
  917. </aside>
  918. <code class="phpdocumentor-signature phpdocumentor-code ">
  919. <span class="phpdocumentor-signature__visibility">public</span>
  920. <span class="phpdocumentor-signature__type">int</span>
  921. <span class="phpdocumentor-signature__name">M_TIMING</span>
  922. = <span class="phpdocumentor-signature__default-value">0b100000</span>
  923. </code>
  924. </article>
  925. <article class="phpdocumentor-element -constant -public ">
  926. <h4 class="phpdocumentor-element__name" id="constant_M_TIMING_DARK">
  927. M_TIMING_DARK
  928. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_TIMING_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  929. </h4>
  930. <aside class="phpdocumentor-element-found-in">
  931. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  932. :
  933. <span class="phpdocumentor-element-found-in__line">47</span>
  934. </aside>
  935. <code class="phpdocumentor-signature phpdocumentor-code ">
  936. <span class="phpdocumentor-signature__visibility">public</span>
  937. <span class="phpdocumentor-signature__type">int</span>
  938. <span class="phpdocumentor-signature__name">M_TIMING_DARK</span>
  939. = <span class="phpdocumentor-signature__default-value">0b100000100000</span>
  940. </code>
  941. </article>
  942. <article class="phpdocumentor-element -constant -public ">
  943. <h4 class="phpdocumentor-element__name" id="constant_M_VERSION">
  944. M_VERSION
  945. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_VERSION" class="headerlink"><i class="fas fa-link"></i></a>
  946. </h4>
  947. <aside class="phpdocumentor-element-found-in">
  948. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  949. :
  950. <span class="phpdocumentor-element-found-in__line">53</span>
  951. </aside>
  952. <code class="phpdocumentor-signature phpdocumentor-code ">
  953. <span class="phpdocumentor-signature__visibility">public</span>
  954. <span class="phpdocumentor-signature__type">int</span>
  955. <span class="phpdocumentor-signature__name">M_VERSION</span>
  956. = <span class="phpdocumentor-signature__default-value">0b10000000</span>
  957. </code>
  958. </article>
  959. <article class="phpdocumentor-element -constant -public ">
  960. <h4 class="phpdocumentor-element__name" id="constant_M_VERSION_DARK">
  961. M_VERSION_DARK
  962. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_M_VERSION_DARK" class="headerlink"><i class="fas fa-link"></i></a>
  963. </h4>
  964. <aside class="phpdocumentor-element-found-in">
  965. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  966. :
  967. <span class="phpdocumentor-element-found-in__line">55</span>
  968. </aside>
  969. <code class="phpdocumentor-signature phpdocumentor-code ">
  970. <span class="phpdocumentor-signature__visibility">public</span>
  971. <span class="phpdocumentor-signature__type">int</span>
  972. <span class="phpdocumentor-signature__name">M_VERSION_DARK</span>
  973. = <span class="phpdocumentor-signature__default-value">0b100010000000</span>
  974. </code>
  975. </article>
  976. <article class="phpdocumentor-element -constant -protected ">
  977. <h4 class="phpdocumentor-element__name" id="constant_neighbours">
  978. neighbours
  979. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#constant_neighbours" class="headerlink"><i class="fas fa-link"></i></a>
  980. </h4>
  981. <aside class="phpdocumentor-element-found-in">
  982. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  983. :
  984. <span class="phpdocumentor-element-found-in__line">74</span>
  985. </aside>
  986. <p class="phpdocumentor-summary">Map of flag =&gt; coord</p>
  987. <code class="phpdocumentor-signature phpdocumentor-code ">
  988. <span class="phpdocumentor-signature__visibility">protected</span>
  989. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  990. <span class="phpdocumentor-signature__name">neighbours</span>
  991. = <span class="phpdocumentor-signature__default-value">[0b1 =&gt; [-1, -1], 0b10 =&gt; [0, -1], 0b100 =&gt; [1, -1], 0b1000 =&gt; [1, 0], 0b10000 =&gt; [1, 1], 0b100000 =&gt; [0, 1], 0b1000000 =&gt; [-1, 1], 0b10000000 =&gt; [-1, 0]]</span>
  992. </code>
  993. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  994. Tags
  995. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  996. </h5>
  997. <dl class="phpdocumentor-tag-list">
  998. <dt class="phpdocumentor-tag-list__entry">
  999. <span class="phpdocumentor-tag__name">see</span>
  1000. </dt>
  1001. <dd class="phpdocumentor-tag-list__definition">
  1002. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkNeighbours"><abbr title="\chillerlan\QRCode\Data\QRMatrix::checkNeighbours()">QRMatrix::checkNeighbours()</abbr></a></span>
  1003. </dd>
  1004. </dl>
  1005. </article>
  1006. <article class="phpdocumentor-element -constant -private ">
  1007. <h4 class="phpdocumentor-element__name" id="constant_DECODE_LOOKUP">
  1008. DECODE_LOOKUP
  1009. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#constant_DECODE_LOOKUP" class="headerlink"><i class="fas fa-link"></i></a>
  1010. </h4>
  1011. <aside class="phpdocumentor-element-found-in">
  1012. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  1013. :
  1014. <span class="phpdocumentor-element-found-in__line">29</span>
  1015. </aside>
  1016. <p class="phpdocumentor-summary">See ISO 18004:2006, Annex C, Table C.1</p>
  1017. <code class="phpdocumentor-signature phpdocumentor-code ">
  1018. <span class="phpdocumentor-signature__visibility">private</span>
  1019. <span class="phpdocumentor-signature__type">mixed</span>
  1020. <span class="phpdocumentor-signature__name">DECODE_LOOKUP</span>
  1021. = <span class="phpdocumentor-signature__default-value">[
  1022. 0x5412,
  1023. // 0101010000010010
  1024. 0x5125,
  1025. // 0101000100100101
  1026. 0x5e7c,
  1027. // 0101111001111100
  1028. 0x5b4b,
  1029. // 0101101101001011
  1030. 0x45f9,
  1031. // 0100010111111001
  1032. 0x40ce,
  1033. // 0100000011001110
  1034. 0x4f97,
  1035. // 0100111110010111
  1036. 0x4aa0,
  1037. // 0100101010100000
  1038. 0x77c4,
  1039. // 0111011111000100
  1040. 0x72f3,
  1041. // 0111001011110011
  1042. 0x7daa,
  1043. // 0111110110101010
  1044. 0x789d,
  1045. // 0111100010011101
  1046. 0x662f,
  1047. // 0110011000101111
  1048. 0x6318,
  1049. // 0110001100011000
  1050. 0x6c41,
  1051. // 0110110001000001
  1052. 0x6976,
  1053. // 0110100101110110
  1054. 0x1689,
  1055. // 0001011010001001
  1056. 0x13be,
  1057. // 0001001110111110
  1058. 0x1ce7,
  1059. // 0001110011100111
  1060. 0x19d0,
  1061. // 0001100111010000
  1062. 0x762,
  1063. // 0000011101100010
  1064. 0x255,
  1065. // 0000001001010101
  1066. 0xd0c,
  1067. // 0000110100001100
  1068. 0x83b,
  1069. // 0000100000111011
  1070. 0x355f,
  1071. // 0011010101011111
  1072. 0x3068,
  1073. // 0011000001101000
  1074. 0x3f31,
  1075. // 0011111100110001
  1076. 0x3a06,
  1077. // 0011101000000110
  1078. 0x24b4,
  1079. // 0010010010110100
  1080. 0x2183,
  1081. // 0010000110000011
  1082. 0x2eda,
  1083. // 0010111011011010
  1084. 0x2bed,
  1085. ]</span>
  1086. </code>
  1087. <section class="phpdocumentor-description"><p>[data bits, sequence after masking]</p>
  1088. </section>
  1089. <section class="phpdocumentor-description"></section>
  1090. </article>
  1091. <article class="phpdocumentor-element -constant -private ">
  1092. <h4 class="phpdocumentor-element__name" id="constant_FORMAT_INFO_MASK_QR">
  1093. FORMAT_INFO_MASK_QR
  1094. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#constant_FORMAT_INFO_MASK_QR" class="headerlink"><i class="fas fa-link"></i></a>
  1095. </h4>
  1096. <aside class="phpdocumentor-element-found-in">
  1097. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  1098. :
  1099. <span class="phpdocumentor-element-found-in__line">64</span>
  1100. </aside>
  1101. <code class="phpdocumentor-signature phpdocumentor-code ">
  1102. <span class="phpdocumentor-signature__visibility">private</span>
  1103. <span class="phpdocumentor-signature__type">mixed</span>
  1104. <span class="phpdocumentor-signature__name">FORMAT_INFO_MASK_QR</span>
  1105. = <span class="phpdocumentor-signature__default-value">0x5412</span>
  1106. </code>
  1107. <section class="phpdocumentor-description"></section>
  1108. <section class="phpdocumentor-description"></section>
  1109. </article>
  1110. </section>
  1111. <section class="phpdocumentor-properties">
  1112. <h3 class="phpdocumentor-elements__header" id="properties">
  1113. Properties
  1114. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  1115. </h3>
  1116. <article
  1117. class="
  1118. phpdocumentor-element
  1119. -property
  1120. -protected
  1121. "
  1122. >
  1123. <h4 class="phpdocumentor-element__name" id="property_eccLevel">
  1124. $eccLevel
  1125. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  1126. <span class="phpdocumentor-element__modifiers">
  1127. </span>
  1128. </h4>
  1129. <aside class="phpdocumentor-element-found-in">
  1130. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1131. :
  1132. <span class="phpdocumentor-element-found-in__line">93</span>
  1133. </aside>
  1134. <p class="phpdocumentor-summary">the current ECC level - always set in QRMatrix, may be null in BitMatrix</p>
  1135. <code class="phpdocumentor-code phpdocumentor-signature ">
  1136. <span class="phpdocumentor-signature__visibility">protected</span>
  1137. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null</span>
  1138. <span class="phpdocumentor-signature__name">$eccLevel</span>
  1139. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1140. <section class="phpdocumentor-description"></section>
  1141. </article>
  1142. <article
  1143. class="
  1144. phpdocumentor-element
  1145. -property
  1146. -protected
  1147. "
  1148. >
  1149. <h4 class="phpdocumentor-element__name" id="property_maskPattern">
  1150. $maskPattern
  1151. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1152. <span class="phpdocumentor-element__modifiers">
  1153. </span>
  1154. </h4>
  1155. <aside class="phpdocumentor-element-found-in">
  1156. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1157. :
  1158. <span class="phpdocumentor-element-found-in__line">102</span>
  1159. </aside>
  1160. <p class="phpdocumentor-summary">the mask pattern that was used in the most recent operation, set via:</p>
  1161. <code class="phpdocumentor-code phpdocumentor-signature ">
  1162. <span class="phpdocumentor-signature__visibility">protected</span>
  1163. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null</span>
  1164. <span class="phpdocumentor-signature__name">$maskPattern</span>
  1165. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1166. <section class="phpdocumentor-description"><ul>
  1167. <li>QRMatrix::setFormatInfo()</li>
  1168. <li>QRMatrix::mask()</li>
  1169. <li>BitMatrix::readFormatInformation()</li>
  1170. </ul>
  1171. </section>
  1172. <section class="phpdocumentor-description"></section>
  1173. </article>
  1174. <article
  1175. class="
  1176. phpdocumentor-element
  1177. -property
  1178. -protected
  1179. "
  1180. >
  1181. <h4 class="phpdocumentor-element__name" id="property_matrix">
  1182. $matrix
  1183. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  1184. <span class="phpdocumentor-element__modifiers">
  1185. </span>
  1186. </h4>
  1187. <aside class="phpdocumentor-element-found-in">
  1188. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1189. :
  1190. <span class="phpdocumentor-element-found-in__line">114</span>
  1191. </aside>
  1192. <p class="phpdocumentor-summary">the actual matrix data array</p>
  1193. <code class="phpdocumentor-code phpdocumentor-signature ">
  1194. <span class="phpdocumentor-signature__visibility">protected</span>
  1195. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  1196. <span class="phpdocumentor-signature__name">$matrix</span>
  1197. </code>
  1198. </article>
  1199. <article
  1200. class="
  1201. phpdocumentor-element
  1202. -property
  1203. -protected
  1204. "
  1205. >
  1206. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  1207. $moduleCount
  1208. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  1209. <span class="phpdocumentor-element__modifiers">
  1210. </span>
  1211. </h4>
  1212. <aside class="phpdocumentor-element-found-in">
  1213. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1214. :
  1215. <span class="phpdocumentor-element-found-in__line">107</span>
  1216. </aside>
  1217. <p class="phpdocumentor-summary">the size (side length) of the matrix, including quiet zone (if created)</p>
  1218. <code class="phpdocumentor-code phpdocumentor-signature ">
  1219. <span class="phpdocumentor-signature__visibility">protected</span>
  1220. <span class="phpdocumentor-signature__type">int</span>
  1221. <span class="phpdocumentor-signature__name">$moduleCount</span>
  1222. </code>
  1223. <section class="phpdocumentor-description"></section>
  1224. </article>
  1225. <article
  1226. class="
  1227. phpdocumentor-element
  1228. -property
  1229. -protected
  1230. "
  1231. >
  1232. <h4 class="phpdocumentor-element__name" id="property_version">
  1233. $version
  1234. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#property_version" class="headerlink"><i class="fas fa-link"></i></a>
  1235. <span class="phpdocumentor-element__modifiers">
  1236. </span>
  1237. </h4>
  1238. <aside class="phpdocumentor-element-found-in">
  1239. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1240. :
  1241. <span class="phpdocumentor-element-found-in__line">88</span>
  1242. </aside>
  1243. <p class="phpdocumentor-summary">the matrix version - always set in QRMatrix, may be null in BitMatrix</p>
  1244. <code class="phpdocumentor-code phpdocumentor-signature ">
  1245. <span class="phpdocumentor-signature__visibility">protected</span>
  1246. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span>
  1247. <span class="phpdocumentor-signature__name">$version</span>
  1248. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1249. <section class="phpdocumentor-description"></section>
  1250. </article>
  1251. <article
  1252. class="
  1253. phpdocumentor-element
  1254. -property
  1255. -private
  1256. "
  1257. >
  1258. <h4 class="phpdocumentor-element__name" id="property_mirror">
  1259. $mirror
  1260. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#property_mirror" class="headerlink"><i class="fas fa-link"></i></a>
  1261. <span class="phpdocumentor-element__modifiers">
  1262. </span>
  1263. </h4>
  1264. <aside class="phpdocumentor-element-found-in">
  1265. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  1266. :
  1267. <span class="phpdocumentor-element-found-in__line">70</span>
  1268. </aside>
  1269. <p class="phpdocumentor-summary">This flag has effect only on the copyVersionBit() method.</p>
  1270. <code class="phpdocumentor-code phpdocumentor-signature ">
  1271. <span class="phpdocumentor-signature__visibility">private</span>
  1272. <span class="phpdocumentor-signature__type">bool</span>
  1273. <span class="phpdocumentor-signature__name">$mirror</span>
  1274. = <span class="phpdocumentor-signature__default-value">false</span></code>
  1275. <section class="phpdocumentor-description"><p>Before proceeding with readCodewords() the resetInfo() method should be called.</p>
  1276. </section>
  1277. <section class="phpdocumentor-description"></section>
  1278. </article>
  1279. </section>
  1280. <section class="phpdocumentor-methods">
  1281. <h3 class="phpdocumentor-elements__header" id="methods">
  1282. Methods
  1283. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  1284. </h3>
  1285. <article
  1286. class="phpdocumentor-element
  1287. -method
  1288. -public
  1289. "
  1290. >
  1291. <h4 class="phpdocumentor-element__name" id="method___construct">
  1292. __construct()
  1293. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  1294. </h4>
  1295. <aside class="phpdocumentor-element-found-in">
  1296. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  1297. :
  1298. <span class="phpdocumentor-element-found-in__line">75</span>
  1299. </aside>
  1300. <p class="phpdocumentor-summary">QRMatrix constructor.</p>
  1301. <code class="phpdocumentor-code phpdocumentor-signature ">
  1302. <span class="phpdocumentor-signature__visibility">public</span>
  1303. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dimension</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  1304. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1305. <dl class="phpdocumentor-argument-list">
  1306. <dt class="phpdocumentor-argument-list__entry">
  1307. <span class="phpdocumentor-signature__argument__name">$dimension</span>
  1308. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1309. </dt>
  1310. <dd class="phpdocumentor-argument-list__definition">
  1311. <section class="phpdocumentor-description"></section>
  1312. </dd>
  1313. </dl>
  1314. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1315. Tags
  1316. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1317. </h5>
  1318. <dl class="phpdocumentor-tag-list">
  1319. <dt class="phpdocumentor-tag-list__entry">
  1320. <span class="phpdocumentor-tag__name">noinspection</span>
  1321. </dt>
  1322. <dd class="phpdocumentor-tag-list__definition">
  1323. <section class="phpdocumentor-description"><p>PhpMissingParentConstructorInspection</p>
  1324. </section>
  1325. </dd>
  1326. </dl>
  1327. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1328. <span class="phpdocumentor-signature__response_type">mixed</span>
  1329. &mdash;
  1330. </article>
  1331. <article
  1332. class="phpdocumentor-element
  1333. -method
  1334. -public
  1335. "
  1336. >
  1337. <h4 class="phpdocumentor-element__name" id="method_check">
  1338. check()
  1339. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_check" class="headerlink"><i class="fas fa-link"></i></a>
  1340. </h4>
  1341. <aside class="phpdocumentor-element-found-in">
  1342. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1343. :
  1344. <span class="phpdocumentor-element-found-in__line">330</span>
  1345. </aside>
  1346. <p class="phpdocumentor-summary">Checks whether the module at ($x, $y) is true (dark) or false (light)</p>
  1347. <code class="phpdocumentor-code phpdocumentor-signature ">
  1348. <span class="phpdocumentor-signature__visibility">public</span>
  1349. <span class="phpdocumentor-signature__name">check</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1350. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1351. <dl class="phpdocumentor-argument-list">
  1352. <dt class="phpdocumentor-argument-list__entry">
  1353. <span class="phpdocumentor-signature__argument__name">$x</span>
  1354. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1355. </dt>
  1356. <dd class="phpdocumentor-argument-list__definition">
  1357. <section class="phpdocumentor-description"></section>
  1358. </dd>
  1359. <dt class="phpdocumentor-argument-list__entry">
  1360. <span class="phpdocumentor-signature__argument__name">$y</span>
  1361. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1362. </dt>
  1363. <dd class="phpdocumentor-argument-list__definition">
  1364. <section class="phpdocumentor-description"></section>
  1365. </dd>
  1366. </dl>
  1367. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1368. <span class="phpdocumentor-signature__response_type">bool</span>
  1369. &mdash;
  1370. </article>
  1371. <article
  1372. class="phpdocumentor-element
  1373. -method
  1374. -public
  1375. "
  1376. >
  1377. <h4 class="phpdocumentor-element__name" id="method_checkNeighbours">
  1378. checkNeighbours()
  1379. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkNeighbours" class="headerlink"><i class="fas fa-link"></i></a>
  1380. </h4>
  1381. <aside class="phpdocumentor-element-found-in">
  1382. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1383. :
  1384. <span class="phpdocumentor-element-found-in__line">344</span>
  1385. </aside>
  1386. <p class="phpdocumentor-summary">Checks the status of the neighbouring modules for the module at ($x, $y) and returns a bitmask with the results.</p>
  1387. <code class="phpdocumentor-code phpdocumentor-signature ">
  1388. <span class="phpdocumentor-signature__visibility">public</span>
  1389. <span class="phpdocumentor-signature__name">checkNeighbours</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  1390. <section class="phpdocumentor-description"><p>The 8 flags of the bitmask represent the status of each of the neighbouring fields,
  1391. starting with the lowest bit for top left, going clockwise:</p>
  1392. <p>1 2 3
  1393. 8 # 4
  1394. 7 6 5</p>
  1395. </section>
  1396. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1397. <dl class="phpdocumentor-argument-list">
  1398. <dt class="phpdocumentor-argument-list__entry">
  1399. <span class="phpdocumentor-signature__argument__name">$x</span>
  1400. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1401. </dt>
  1402. <dd class="phpdocumentor-argument-list__definition">
  1403. <section class="phpdocumentor-description"></section>
  1404. </dd>
  1405. <dt class="phpdocumentor-argument-list__entry">
  1406. <span class="phpdocumentor-signature__argument__name">$y</span>
  1407. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1408. </dt>
  1409. <dd class="phpdocumentor-argument-list__definition">
  1410. <section class="phpdocumentor-description"></section>
  1411. </dd>
  1412. <dt class="phpdocumentor-argument-list__entry">
  1413. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1414. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1415. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1416. <dd class="phpdocumentor-argument-list__definition">
  1417. <section class="phpdocumentor-description"></section>
  1418. </dd>
  1419. </dl>
  1420. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1421. <span class="phpdocumentor-signature__response_type">int</span>
  1422. &mdash;
  1423. </article>
  1424. <article
  1425. class="phpdocumentor-element
  1426. -method
  1427. -public
  1428. "
  1429. >
  1430. <h4 class="phpdocumentor-element__name" id="method_checkType">
  1431. checkType()
  1432. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkType" class="headerlink"><i class="fas fa-link"></i></a>
  1433. </h4>
  1434. <aside class="phpdocumentor-element-found-in">
  1435. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1436. :
  1437. <span class="phpdocumentor-element-found-in__line">302</span>
  1438. </aside>
  1439. <p class="phpdocumentor-summary">Checks whether the module at ($x, $y) is of the given $M_TYPE</p>
  1440. <code class="phpdocumentor-code phpdocumentor-signature ">
  1441. <span class="phpdocumentor-signature__visibility">public</span>
  1442. <span class="phpdocumentor-signature__name">checkType</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1443. <section class="phpdocumentor-description"><p>true =&gt; $value &amp; $M_TYPE === $M_TYPE</p>
  1444. </section>
  1445. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1446. <dl class="phpdocumentor-argument-list">
  1447. <dt class="phpdocumentor-argument-list__entry">
  1448. <span class="phpdocumentor-signature__argument__name">$x</span>
  1449. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1450. </dt>
  1451. <dd class="phpdocumentor-argument-list__definition">
  1452. <section class="phpdocumentor-description"></section>
  1453. </dd>
  1454. <dt class="phpdocumentor-argument-list__entry">
  1455. <span class="phpdocumentor-signature__argument__name">$y</span>
  1456. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1457. </dt>
  1458. <dd class="phpdocumentor-argument-list__definition">
  1459. <section class="phpdocumentor-description"></section>
  1460. </dd>
  1461. <dt class="phpdocumentor-argument-list__entry">
  1462. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1463. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1464. </dt>
  1465. <dd class="phpdocumentor-argument-list__definition">
  1466. <section class="phpdocumentor-description"></section>
  1467. </dd>
  1468. </dl>
  1469. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1470. <span class="phpdocumentor-signature__response_type">bool</span>
  1471. &mdash;
  1472. </article>
  1473. <article
  1474. class="phpdocumentor-element
  1475. -method
  1476. -public
  1477. "
  1478. >
  1479. <h4 class="phpdocumentor-element__name" id="method_checkTypeIn">
  1480. checkTypeIn()
  1481. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_checkTypeIn" class="headerlink"><i class="fas fa-link"></i></a>
  1482. </h4>
  1483. <aside class="phpdocumentor-element-found-in">
  1484. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1485. :
  1486. <span class="phpdocumentor-element-found-in__line">316</span>
  1487. </aside>
  1488. <p class="phpdocumentor-summary">checks whether the module at ($x, $y) is in the given array of $M_TYPES,
  1489. returns true if a match is found, otherwise false.</p>
  1490. <code class="phpdocumentor-code phpdocumentor-signature ">
  1491. <span class="phpdocumentor-signature__visibility">public</span>
  1492. <span class="phpdocumentor-signature__name">checkTypeIn</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPES</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1493. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1494. <dl class="phpdocumentor-argument-list">
  1495. <dt class="phpdocumentor-argument-list__entry">
  1496. <span class="phpdocumentor-signature__argument__name">$x</span>
  1497. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1498. </dt>
  1499. <dd class="phpdocumentor-argument-list__definition">
  1500. <section class="phpdocumentor-description"></section>
  1501. </dd>
  1502. <dt class="phpdocumentor-argument-list__entry">
  1503. <span class="phpdocumentor-signature__argument__name">$y</span>
  1504. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1505. </dt>
  1506. <dd class="phpdocumentor-argument-list__definition">
  1507. <section class="phpdocumentor-description"></section>
  1508. </dd>
  1509. <dt class="phpdocumentor-argument-list__entry">
  1510. <span class="phpdocumentor-signature__argument__name">$M_TYPES</span>
  1511. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  1512. </dt>
  1513. <dd class="phpdocumentor-argument-list__definition">
  1514. <section class="phpdocumentor-description"></section>
  1515. </dd>
  1516. </dl>
  1517. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1518. <span class="phpdocumentor-signature__response_type">bool</span>
  1519. &mdash;
  1520. </article>
  1521. <article
  1522. class="phpdocumentor-element
  1523. -method
  1524. -public
  1525. -deprecated "
  1526. >
  1527. <h4 class="phpdocumentor-element__name" id="method_eccLevel">
  1528. eccLevel()
  1529. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  1530. </h4>
  1531. <aside class="phpdocumentor-element-found-in">
  1532. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1533. :
  1534. <span class="phpdocumentor-element-found-in__line">206</span>
  1535. </aside>
  1536. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1537. <span class="phpdocumentor-signature__visibility">public</span>
  1538. <span class="phpdocumentor-signature__name">eccLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null</span></code>
  1539. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1540. Tags
  1541. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1542. </h5>
  1543. <dl class="phpdocumentor-tag-list">
  1544. <dt class="phpdocumentor-tag-list__entry">
  1545. <span class="phpdocumentor-tag__name">deprecated</span>
  1546. </dt>
  1547. <dd class="phpdocumentor-tag-list__definition">
  1548. <span class="phpdocumentor-tag-link">5.0.0</span>
  1549. <section class="phpdocumentor-description"><p>use QRMatrix::getEccLevel() instead</p>
  1550. </section>
  1551. </dd>
  1552. <dt class="phpdocumentor-tag-list__entry">
  1553. <span class="phpdocumentor-tag__name">see</span>
  1554. </dt>
  1555. <dd class="phpdocumentor-tag-list__definition">
  1556. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getEccLevel"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getEccLevel()">QRMatrix::getEccLevel()</abbr></a></span>
  1557. </dd>
  1558. <dt class="phpdocumentor-tag-list__entry">
  1559. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1560. </dt>
  1561. <dd class="phpdocumentor-tag-list__definition">
  1562. </dd>
  1563. </dl>
  1564. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1565. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null</span>
  1566. &mdash;
  1567. </article>
  1568. <article
  1569. class="phpdocumentor-element
  1570. -method
  1571. -public
  1572. "
  1573. >
  1574. <h4 class="phpdocumentor-element__name" id="method_flip">
  1575. flip()
  1576. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_flip" class="headerlink"><i class="fas fa-link"></i></a>
  1577. </h4>
  1578. <aside class="phpdocumentor-element-found-in">
  1579. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1580. :
  1581. <span class="phpdocumentor-element-found-in__line">288</span>
  1582. </aside>
  1583. <p class="phpdocumentor-summary">Flips the value of the module at ($x, $y)</p>
  1584. <code class="phpdocumentor-code phpdocumentor-signature ">
  1585. <span class="phpdocumentor-signature__visibility">public</span>
  1586. <span class="phpdocumentor-signature__name">flip</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1587. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1588. <dl class="phpdocumentor-argument-list">
  1589. <dt class="phpdocumentor-argument-list__entry">
  1590. <span class="phpdocumentor-signature__argument__name">$x</span>
  1591. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1592. </dt>
  1593. <dd class="phpdocumentor-argument-list__definition">
  1594. <section class="phpdocumentor-description"></section>
  1595. </dd>
  1596. <dt class="phpdocumentor-argument-list__entry">
  1597. <span class="phpdocumentor-signature__argument__name">$y</span>
  1598. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1599. </dt>
  1600. <dd class="phpdocumentor-argument-list__definition">
  1601. <section class="phpdocumentor-description"></section>
  1602. </dd>
  1603. </dl>
  1604. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1605. <span class="phpdocumentor-signature__response_type">self</span>
  1606. &mdash;
  1607. </article>
  1608. <article
  1609. class="phpdocumentor-element
  1610. -method
  1611. -public
  1612. "
  1613. >
  1614. <h4 class="phpdocumentor-element__name" id="method_get">
  1615. get()
  1616. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_get" class="headerlink"><i class="fas fa-link"></i></a>
  1617. </h4>
  1618. <aside class="phpdocumentor-element-found-in">
  1619. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1620. :
  1621. <span class="phpdocumentor-element-found-in__line">247</span>
  1622. </aside>
  1623. <p class="phpdocumentor-summary">Returns the value of the module at position [$x, $y] or -1 if the coordinate is outside the matrix</p>
  1624. <code class="phpdocumentor-code phpdocumentor-signature ">
  1625. <span class="phpdocumentor-signature__visibility">public</span>
  1626. <span class="phpdocumentor-signature__name">get</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  1627. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1628. <dl class="phpdocumentor-argument-list">
  1629. <dt class="phpdocumentor-argument-list__entry">
  1630. <span class="phpdocumentor-signature__argument__name">$x</span>
  1631. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1632. </dt>
  1633. <dd class="phpdocumentor-argument-list__definition">
  1634. <section class="phpdocumentor-description"></section>
  1635. </dd>
  1636. <dt class="phpdocumentor-argument-list__entry">
  1637. <span class="phpdocumentor-signature__argument__name">$y</span>
  1638. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1639. </dt>
  1640. <dd class="phpdocumentor-argument-list__definition">
  1641. <section class="phpdocumentor-description"></section>
  1642. </dd>
  1643. </dl>
  1644. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1645. <span class="phpdocumentor-signature__response_type">int</span>
  1646. &mdash;
  1647. </article>
  1648. <article
  1649. class="phpdocumentor-element
  1650. -method
  1651. -public
  1652. "
  1653. >
  1654. <h4 class="phpdocumentor-element__name" id="method_getEccLevel">
  1655. getEccLevel()
  1656. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getEccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  1657. </h4>
  1658. <aside class="phpdocumentor-element-found-in">
  1659. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1660. :
  1661. <span class="phpdocumentor-element-found-in__line">197</span>
  1662. </aside>
  1663. <p class="phpdocumentor-summary">Returns the current ECC level</p>
  1664. <code class="phpdocumentor-code phpdocumentor-signature ">
  1665. <span class="phpdocumentor-signature__visibility">public</span>
  1666. <span class="phpdocumentor-signature__name">getEccLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null</span></code>
  1667. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1668. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null</span>
  1669. &mdash;
  1670. </article>
  1671. <article
  1672. class="phpdocumentor-element
  1673. -method
  1674. -public
  1675. "
  1676. >
  1677. <h4 class="phpdocumentor-element__name" id="method_getMaskPattern">
  1678. getMaskPattern()
  1679. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getMaskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1680. </h4>
  1681. <aside class="phpdocumentor-element-found-in">
  1682. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1683. :
  1684. <span class="phpdocumentor-element-found-in__line">213</span>
  1685. </aside>
  1686. <p class="phpdocumentor-summary">Returns the current mask pattern</p>
  1687. <code class="phpdocumentor-code phpdocumentor-signature ">
  1688. <span class="phpdocumentor-signature__visibility">public</span>
  1689. <span class="phpdocumentor-signature__name">getMaskPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null</span></code>
  1690. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1691. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null</span>
  1692. &mdash;
  1693. </article>
  1694. <article
  1695. class="phpdocumentor-element
  1696. -method
  1697. -public
  1698. "
  1699. >
  1700. <h4 class="phpdocumentor-element__name" id="method_getMatrix">
  1701. getMatrix()
  1702. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  1703. </h4>
  1704. <aside class="phpdocumentor-element-found-in">
  1705. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1706. :
  1707. <span class="phpdocumentor-element-found-in__line">153</span>
  1708. </aside>
  1709. <p class="phpdocumentor-summary">Returns the data matrix, returns a pure boolean representation if $boolean is set to true</p>
  1710. <code class="phpdocumentor-code phpdocumentor-signature ">
  1711. <span class="phpdocumentor-signature__visibility">public</span>
  1712. <span class="phpdocumentor-signature__name">getMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$boolean</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;|array&lt;string|int, array&lt;string|int, bool&gt;&gt;</span></code>
  1713. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1714. <dl class="phpdocumentor-argument-list">
  1715. <dt class="phpdocumentor-argument-list__entry">
  1716. <span class="phpdocumentor-signature__argument__name">$boolean</span>
  1717. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1718. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1719. <dd class="phpdocumentor-argument-list__definition">
  1720. <section class="phpdocumentor-description"></section>
  1721. </dd>
  1722. </dl>
  1723. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1724. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;|array&lt;string|int, array&lt;string|int, bool&gt;&gt;</span>
  1725. &mdash;
  1726. </article>
  1727. <article
  1728. class="phpdocumentor-element
  1729. -method
  1730. -public
  1731. "
  1732. >
  1733. <h4 class="phpdocumentor-element__name" id="method_getSize">
  1734. getSize()
  1735. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getSize" class="headerlink"><i class="fas fa-link"></i></a>
  1736. </h4>
  1737. <aside class="phpdocumentor-element-found-in">
  1738. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1739. :
  1740. <span class="phpdocumentor-element-found-in__line">231</span>
  1741. </aside>
  1742. <p class="phpdocumentor-summary">Returns the absoulute size of the matrix, including quiet zone (after setting it).</p>
  1743. <code class="phpdocumentor-code phpdocumentor-signature ">
  1744. <span class="phpdocumentor-signature__visibility">public</span>
  1745. <span class="phpdocumentor-signature__name">getSize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  1746. <section class="phpdocumentor-description"><p>size = version * 4 + 17 [ + 2 * quietzone size]</p>
  1747. </section>
  1748. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1749. <span class="phpdocumentor-signature__response_type">int</span>
  1750. &mdash;
  1751. </article>
  1752. <article
  1753. class="phpdocumentor-element
  1754. -method
  1755. -public
  1756. "
  1757. >
  1758. <h4 class="phpdocumentor-element__name" id="method_getVersion">
  1759. getVersion()
  1760. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getVersion" class="headerlink"><i class="fas fa-link"></i></a>
  1761. </h4>
  1762. <aside class="phpdocumentor-element-found-in">
  1763. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1764. :
  1765. <span class="phpdocumentor-element-found-in__line">181</span>
  1766. </aside>
  1767. <p class="phpdocumentor-summary">Returns the current version number</p>
  1768. <code class="phpdocumentor-code phpdocumentor-signature ">
  1769. <span class="phpdocumentor-signature__visibility">public</span>
  1770. <span class="phpdocumentor-signature__name">getVersion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span></code>
  1771. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1772. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span>
  1773. &mdash;
  1774. </article>
  1775. <article
  1776. class="phpdocumentor-element
  1777. -method
  1778. -public
  1779. "
  1780. >
  1781. <h4 class="phpdocumentor-element__name" id="method_initFunctionalPatterns">
  1782. initFunctionalPatterns()
  1783. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_initFunctionalPatterns" class="headerlink"><i class="fas fa-link"></i></a>
  1784. </h4>
  1785. <aside class="phpdocumentor-element-found-in">
  1786. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1787. :
  1788. <span class="phpdocumentor-element-found-in__line">136</span>
  1789. </aside>
  1790. <p class="phpdocumentor-summary">shortcut to initialize the functional patterns</p>
  1791. <code class="phpdocumentor-code phpdocumentor-signature ">
  1792. <span class="phpdocumentor-signature__visibility">public</span>
  1793. <span class="phpdocumentor-signature__name">initFunctionalPatterns</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1794. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1795. <span class="phpdocumentor-signature__response_type">self</span>
  1796. &mdash;
  1797. </article>
  1798. <article
  1799. class="phpdocumentor-element
  1800. -method
  1801. -public
  1802. "
  1803. >
  1804. <h4 class="phpdocumentor-element__name" id="method_mask">
  1805. mask()
  1806. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_mask" class="headerlink"><i class="fas fa-link"></i></a>
  1807. </h4>
  1808. <aside class="phpdocumentor-element-found-in">
  1809. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1810. :
  1811. <span class="phpdocumentor-element-found-in__line">715</span>
  1812. </aside>
  1813. <p class="phpdocumentor-summary">Applies/reverses the mask pattern</p>
  1814. <code class="phpdocumentor-code phpdocumentor-signature ">
  1815. <span class="phpdocumentor-signature__visibility">public</span>
  1816. <span class="phpdocumentor-signature__name">mask</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskPattern</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1817. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 8.8.1</p>
  1818. </section>
  1819. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1820. <dl class="phpdocumentor-argument-list">
  1821. <dt class="phpdocumentor-argument-list__entry">
  1822. <span class="phpdocumentor-signature__argument__name">$maskPattern</span>
  1823. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a></span>
  1824. </dt>
  1825. <dd class="phpdocumentor-argument-list__definition">
  1826. <section class="phpdocumentor-description"></section>
  1827. </dd>
  1828. </dl>
  1829. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1830. <span class="phpdocumentor-signature__response_type">self</span>
  1831. &mdash;
  1832. </article>
  1833. <article
  1834. class="phpdocumentor-element
  1835. -method
  1836. -public
  1837. -deprecated "
  1838. >
  1839. <h4 class="phpdocumentor-element__name" id="method_maskPattern">
  1840. maskPattern()
  1841. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1842. </h4>
  1843. <aside class="phpdocumentor-element-found-in">
  1844. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1845. :
  1846. <span class="phpdocumentor-element-found-in__line">222</span>
  1847. </aside>
  1848. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1849. <span class="phpdocumentor-signature__visibility">public</span>
  1850. <span class="phpdocumentor-signature__name">maskPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null</span></code>
  1851. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1852. Tags
  1853. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1854. </h5>
  1855. <dl class="phpdocumentor-tag-list">
  1856. <dt class="phpdocumentor-tag-list__entry">
  1857. <span class="phpdocumentor-tag__name">deprecated</span>
  1858. </dt>
  1859. <dd class="phpdocumentor-tag-list__definition">
  1860. <span class="phpdocumentor-tag-link">5.0.0</span>
  1861. <section class="phpdocumentor-description"><p>use QRMatrix::getMaskPattern() instead</p>
  1862. </section>
  1863. </dd>
  1864. <dt class="phpdocumentor-tag-list__entry">
  1865. <span class="phpdocumentor-tag__name">see</span>
  1866. </dt>
  1867. <dd class="phpdocumentor-tag-list__definition">
  1868. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getMaskPattern"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getMaskPattern()">QRMatrix::getMaskPattern()</abbr></a></span>
  1869. </dd>
  1870. <dt class="phpdocumentor-tag-list__entry">
  1871. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1872. </dt>
  1873. <dd class="phpdocumentor-tag-list__definition">
  1874. </dd>
  1875. </dl>
  1876. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1877. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null</span>
  1878. &mdash;
  1879. </article>
  1880. <article
  1881. class="phpdocumentor-element
  1882. -method
  1883. -public
  1884. -deprecated "
  1885. >
  1886. <h4 class="phpdocumentor-element__name" id="method_matrix">
  1887. matrix()
  1888. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  1889. </h4>
  1890. <aside class="phpdocumentor-element-found-in">
  1891. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  1892. :
  1893. <span class="phpdocumentor-element-found-in__line">174</span>
  1894. </aside>
  1895. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  1896. <span class="phpdocumentor-signature__visibility">public</span>
  1897. <span class="phpdocumentor-signature__name">matrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$boolean</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1898. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1899. <dl class="phpdocumentor-argument-list">
  1900. <dt class="phpdocumentor-argument-list__entry">
  1901. <span class="phpdocumentor-signature__argument__name">$boolean</span>
  1902. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1903. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1904. <dd class="phpdocumentor-argument-list__definition">
  1905. <section class="phpdocumentor-description"></section>
  1906. </dd>
  1907. </dl>
  1908. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1909. Tags
  1910. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1911. </h5>
  1912. <dl class="phpdocumentor-tag-list">
  1913. <dt class="phpdocumentor-tag-list__entry">
  1914. <span class="phpdocumentor-tag__name">deprecated</span>
  1915. </dt>
  1916. <dd class="phpdocumentor-tag-list__definition">
  1917. <span class="phpdocumentor-tag-link">5.0.0</span>
  1918. <section class="phpdocumentor-description"><p>use QRMatrix::getMatrix() instead</p>
  1919. </section>
  1920. </dd>
  1921. <dt class="phpdocumentor-tag-list__entry">
  1922. <span class="phpdocumentor-tag__name">see</span>
  1923. </dt>
  1924. <dd class="phpdocumentor-tag-list__definition">
  1925. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getMatrix"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getMatrix()">QRMatrix::getMatrix()</abbr></a></span>
  1926. </dd>
  1927. <dt class="phpdocumentor-tag-list__entry">
  1928. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  1929. </dt>
  1930. <dd class="phpdocumentor-tag-list__definition">
  1931. </dd>
  1932. </dl>
  1933. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1934. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1935. &mdash;
  1936. </article>
  1937. <article
  1938. class="phpdocumentor-element
  1939. -method
  1940. -public
  1941. "
  1942. >
  1943. <h4 class="phpdocumentor-element__name" id="method_mirrorDiagonal">
  1944. mirrorDiagonal()
  1945. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_mirrorDiagonal" class="headerlink"><i class="fas fa-link"></i></a>
  1946. </h4>
  1947. <aside class="phpdocumentor-element-found-in">
  1948. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  1949. :
  1950. <span class="phpdocumentor-element-found-in__line">94</span>
  1951. </aside>
  1952. <p class="phpdocumentor-summary">Mirror the bit matrix diagonally in order to attempt a second reading.</p>
  1953. <code class="phpdocumentor-code phpdocumentor-signature ">
  1954. <span class="phpdocumentor-signature__visibility">public</span>
  1955. <span class="phpdocumentor-signature__name">mirrorDiagonal</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  1956. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1957. <span class="phpdocumentor-signature__response_type">self</span>
  1958. &mdash;
  1959. </article>
  1960. <article
  1961. class="phpdocumentor-element
  1962. -method
  1963. -public
  1964. "
  1965. >
  1966. <h4 class="phpdocumentor-element__name" id="method_readCodewords">
  1967. readCodewords()
  1968. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_readCodewords" class="headerlink"><i class="fas fa-link"></i></a>
  1969. </h4>
  1970. <aside class="phpdocumentor-element-found-in">
  1971. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  1972. :
  1973. <span class="phpdocumentor-element-found-in__line">112</span>
  1974. </aside>
  1975. <p class="phpdocumentor-summary">Reads the bits in the BitMatrix representing the finder pattern in the
  1976. correct order in order to reconstruct the codewords bytes contained within the
  1977. QR Code. Throws if the exact number of bytes expected is not read.</p>
  1978. <code class="phpdocumentor-code phpdocumentor-signature ">
  1979. <span class="phpdocumentor-signature__visibility">public</span>
  1980. <span class="phpdocumentor-signature__name">readCodewords</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1981. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1982. Tags
  1983. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1984. </h5>
  1985. <dl class="phpdocumentor-tag-list">
  1986. <dt class="phpdocumentor-tag-list__entry">
  1987. <span class="phpdocumentor-tag__name">throws</span>
  1988. </dt>
  1989. <dd class="phpdocumentor-tag-list__definition">
  1990. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  1991. </dd>
  1992. </dl>
  1993. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1994. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1995. &mdash;
  1996. </article>
  1997. <article
  1998. class="phpdocumentor-element
  1999. -method
  2000. -public
  2001. "
  2002. >
  2003. <h4 class="phpdocumentor-element__name" id="method_resetVersionInfo">
  2004. resetVersionInfo()
  2005. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_resetVersionInfo" class="headerlink"><i class="fas fa-link"></i></a>
  2006. </h4>
  2007. <aside class="phpdocumentor-element-found-in">
  2008. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2009. :
  2010. <span class="phpdocumentor-element-found-in__line">83</span>
  2011. </aside>
  2012. <p class="phpdocumentor-summary">Resets the current version info in order to attempt another reading</p>
  2013. <code class="phpdocumentor-code phpdocumentor-signature ">
  2014. <span class="phpdocumentor-signature__visibility">public</span>
  2015. <span class="phpdocumentor-signature__name">resetVersionInfo</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2016. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2017. <span class="phpdocumentor-signature__response_type">self</span>
  2018. &mdash;
  2019. </article>
  2020. <article
  2021. class="phpdocumentor-element
  2022. -method
  2023. -public
  2024. "
  2025. >
  2026. <h4 class="phpdocumentor-element__name" id="method_set">
  2027. set()
  2028. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_set" class="headerlink"><i class="fas fa-link"></i></a>
  2029. </h4>
  2030. <aside class="phpdocumentor-element-found-in">
  2031. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2032. :
  2033. <span class="phpdocumentor-element-found-in__line">262</span>
  2034. </aside>
  2035. <p class="phpdocumentor-summary">Sets the $M_TYPE value for the module at position [$x, $y]</p>
  2036. <code class="phpdocumentor-code phpdocumentor-signature ">
  2037. <span class="phpdocumentor-signature__visibility">public</span>
  2038. <span class="phpdocumentor-signature__name">set</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2039. <section class="phpdocumentor-description"><p>true =&gt; $M_TYPE | 0x800
  2040. false =&gt; $M_TYPE</p>
  2041. </section>
  2042. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2043. <dl class="phpdocumentor-argument-list">
  2044. <dt class="phpdocumentor-argument-list__entry">
  2045. <span class="phpdocumentor-signature__argument__name">$x</span>
  2046. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2047. </dt>
  2048. <dd class="phpdocumentor-argument-list__definition">
  2049. <section class="phpdocumentor-description"></section>
  2050. </dd>
  2051. <dt class="phpdocumentor-argument-list__entry">
  2052. <span class="phpdocumentor-signature__argument__name">$y</span>
  2053. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2054. </dt>
  2055. <dd class="phpdocumentor-argument-list__definition">
  2056. <section class="phpdocumentor-description"></section>
  2057. </dd>
  2058. <dt class="phpdocumentor-argument-list__entry">
  2059. <span class="phpdocumentor-signature__argument__name">$value</span>
  2060. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  2061. </dt>
  2062. <dd class="phpdocumentor-argument-list__definition">
  2063. <section class="phpdocumentor-description"></section>
  2064. </dd>
  2065. <dt class="phpdocumentor-argument-list__entry">
  2066. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  2067. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2068. </dt>
  2069. <dd class="phpdocumentor-argument-list__definition">
  2070. <section class="phpdocumentor-description"></section>
  2071. </dd>
  2072. </dl>
  2073. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2074. <span class="phpdocumentor-signature__response_type">self</span>
  2075. &mdash;
  2076. </article>
  2077. <article
  2078. class="phpdocumentor-element
  2079. -method
  2080. -public
  2081. "
  2082. >
  2083. <h4 class="phpdocumentor-element__name" id="method_setAlignmentPattern">
  2084. setAlignmentPattern()
  2085. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setAlignmentPattern" class="headerlink"><i class="fas fa-link"></i></a>
  2086. </h4>
  2087. <aside class="phpdocumentor-element-found-in">
  2088. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2089. :
  2090. <span class="phpdocumentor-element-found-in__line">436</span>
  2091. </aside>
  2092. <p class="phpdocumentor-summary">Draws the 5x5 alignment patterns</p>
  2093. <code class="phpdocumentor-code phpdocumentor-signature ">
  2094. <span class="phpdocumentor-signature__visibility">public</span>
  2095. <span class="phpdocumentor-signature__name">setAlignmentPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2096. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 7.3.5</p>
  2097. </section>
  2098. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2099. <span class="phpdocumentor-signature__response_type">self</span>
  2100. &mdash;
  2101. </article>
  2102. <article
  2103. class="phpdocumentor-element
  2104. -method
  2105. -public
  2106. "
  2107. >
  2108. <h4 class="phpdocumentor-element__name" id="method_setArea">
  2109. setArea()
  2110. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setArea" class="headerlink"><i class="fas fa-link"></i></a>
  2111. </h4>
  2112. <aside class="phpdocumentor-element-found-in">
  2113. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2114. :
  2115. <span class="phpdocumentor-element-found-in__line">274</span>
  2116. </aside>
  2117. <p class="phpdocumentor-summary">Fills an area of $width * $height, from the given starting point [$startX, $startY] (top left) with $value for $M_TYPE.</p>
  2118. <code class="phpdocumentor-code phpdocumentor-signature ">
  2119. <span class="phpdocumentor-signature__visibility">public</span>
  2120. <span class="phpdocumentor-signature__name">setArea</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$startX</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$startY</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$width</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$height</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$M_TYPE</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2121. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2122. <dl class="phpdocumentor-argument-list">
  2123. <dt class="phpdocumentor-argument-list__entry">
  2124. <span class="phpdocumentor-signature__argument__name">$startX</span>
  2125. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2126. </dt>
  2127. <dd class="phpdocumentor-argument-list__definition">
  2128. <section class="phpdocumentor-description"></section>
  2129. </dd>
  2130. <dt class="phpdocumentor-argument-list__entry">
  2131. <span class="phpdocumentor-signature__argument__name">$startY</span>
  2132. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2133. </dt>
  2134. <dd class="phpdocumentor-argument-list__definition">
  2135. <section class="phpdocumentor-description"></section>
  2136. </dd>
  2137. <dt class="phpdocumentor-argument-list__entry">
  2138. <span class="phpdocumentor-signature__argument__name">$width</span>
  2139. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2140. </dt>
  2141. <dd class="phpdocumentor-argument-list__definition">
  2142. <section class="phpdocumentor-description"></section>
  2143. </dd>
  2144. <dt class="phpdocumentor-argument-list__entry">
  2145. <span class="phpdocumentor-signature__argument__name">$height</span>
  2146. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2147. </dt>
  2148. <dd class="phpdocumentor-argument-list__definition">
  2149. <section class="phpdocumentor-description"></section>
  2150. </dd>
  2151. <dt class="phpdocumentor-argument-list__entry">
  2152. <span class="phpdocumentor-signature__argument__name">$value</span>
  2153. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  2154. </dt>
  2155. <dd class="phpdocumentor-argument-list__definition">
  2156. <section class="phpdocumentor-description"></section>
  2157. </dd>
  2158. <dt class="phpdocumentor-argument-list__entry">
  2159. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  2160. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2161. </dt>
  2162. <dd class="phpdocumentor-argument-list__definition">
  2163. <section class="phpdocumentor-description"></section>
  2164. </dd>
  2165. </dl>
  2166. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2167. <span class="phpdocumentor-signature__response_type">self</span>
  2168. &mdash;
  2169. </article>
  2170. <article
  2171. class="phpdocumentor-element
  2172. -method
  2173. -public
  2174. "
  2175. >
  2176. <h4 class="phpdocumentor-element__name" id="method_setDarkModule">
  2177. setDarkModule()
  2178. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setDarkModule" class="headerlink"><i class="fas fa-link"></i></a>
  2179. </h4>
  2180. <aside class="phpdocumentor-element-found-in">
  2181. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2182. :
  2183. <span class="phpdocumentor-element-found-in__line">371</span>
  2184. </aside>
  2185. <p class="phpdocumentor-summary">Sets the &quot;dark module&quot;, that is always on the same position 1x1px away from the bottom left finder</p>
  2186. <code class="phpdocumentor-code phpdocumentor-signature ">
  2187. <span class="phpdocumentor-signature__visibility">public</span>
  2188. <span class="phpdocumentor-signature__name">setDarkModule</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2189. <section class="phpdocumentor-description"><p>4 * version + 9 or moduleCount - 8</p>
  2190. </section>
  2191. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2192. <span class="phpdocumentor-signature__response_type">self</span>
  2193. &mdash;
  2194. </article>
  2195. <article
  2196. class="phpdocumentor-element
  2197. -method
  2198. -public
  2199. "
  2200. >
  2201. <h4 class="phpdocumentor-element__name" id="method_setFinderPattern">
  2202. setFinderPattern()
  2203. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setFinderPattern" class="headerlink"><i class="fas fa-link"></i></a>
  2204. </h4>
  2205. <aside class="phpdocumentor-element-found-in">
  2206. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2207. :
  2208. <span class="phpdocumentor-element-found-in__line">382</span>
  2209. </aside>
  2210. <p class="phpdocumentor-summary">Draws the 7x7 finder patterns in the corners top left/right and bottom left</p>
  2211. <code class="phpdocumentor-code phpdocumentor-signature ">
  2212. <span class="phpdocumentor-signature__visibility">public</span>
  2213. <span class="phpdocumentor-signature__name">setFinderPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2214. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 7.3.2</p>
  2215. </section>
  2216. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2217. <span class="phpdocumentor-signature__response_type">self</span>
  2218. &mdash;
  2219. </article>
  2220. <article
  2221. class="phpdocumentor-element
  2222. -method
  2223. -public
  2224. "
  2225. >
  2226. <h4 class="phpdocumentor-element__name" id="method_setFormatInfo">
  2227. setFormatInfo()
  2228. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setFormatInfo" class="headerlink"><i class="fas fa-link"></i></a>
  2229. </h4>
  2230. <aside class="phpdocumentor-element-found-in">
  2231. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2232. :
  2233. <span class="phpdocumentor-element-found-in__line">511</span>
  2234. </aside>
  2235. <p class="phpdocumentor-summary">Draws the format info along the finder patterns. If no $maskPattern, all format info modules will be set to false.</p>
  2236. <code class="phpdocumentor-code phpdocumentor-signature ">
  2237. <span class="phpdocumentor-signature__visibility">public</span>
  2238. <span class="phpdocumentor-signature__name">setFormatInfo</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskPattern</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2239. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 8.9</p>
  2240. </section>
  2241. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2242. <dl class="phpdocumentor-argument-list">
  2243. <dt class="phpdocumentor-argument-list__entry">
  2244. <span class="phpdocumentor-signature__argument__name">$maskPattern</span>
  2245. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a></span>
  2246. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  2247. <dd class="phpdocumentor-argument-list__definition">
  2248. <section class="phpdocumentor-description"></section>
  2249. </dd>
  2250. </dl>
  2251. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2252. <span class="phpdocumentor-signature__response_type">self</span>
  2253. &mdash;
  2254. </article>
  2255. <article
  2256. class="phpdocumentor-element
  2257. -method
  2258. -public
  2259. "
  2260. >
  2261. <h4 class="phpdocumentor-element__name" id="method_setLogoSpace">
  2262. setLogoSpace()
  2263. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_setLogoSpace" class="headerlink"><i class="fas fa-link"></i></a>
  2264. </h4>
  2265. <aside class="phpdocumentor-element-found-in">
  2266. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2267. :
  2268. <span class="phpdocumentor-element-found-in__line">427</span>
  2269. </aside>
  2270. <p class="phpdocumentor-summary">Clears a space of $width * $height in order to add a logo or text.</p>
  2271. <code class="phpdocumentor-code phpdocumentor-signature ">
  2272. <span class="phpdocumentor-signature__visibility">public</span>
  2273. <span class="phpdocumentor-signature__name">setLogoSpace</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$width</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$height</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$startX</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$startY</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2274. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2275. <dl class="phpdocumentor-argument-list">
  2276. <dt class="phpdocumentor-argument-list__entry">
  2277. <span class="phpdocumentor-signature__argument__name">$width</span>
  2278. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2279. </dt>
  2280. <dd class="phpdocumentor-argument-list__definition">
  2281. <section class="phpdocumentor-description"></section>
  2282. </dd>
  2283. <dt class="phpdocumentor-argument-list__entry">
  2284. <span class="phpdocumentor-signature__argument__name">$height</span>
  2285. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2286. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  2287. <dd class="phpdocumentor-argument-list__definition">
  2288. <section class="phpdocumentor-description"></section>
  2289. </dd>
  2290. <dt class="phpdocumentor-argument-list__entry">
  2291. <span class="phpdocumentor-signature__argument__name">$startX</span>
  2292. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2293. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  2294. <dd class="phpdocumentor-argument-list__definition">
  2295. <section class="phpdocumentor-description"></section>
  2296. </dd>
  2297. <dt class="phpdocumentor-argument-list__entry">
  2298. <span class="phpdocumentor-signature__argument__name">$startY</span>
  2299. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2300. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  2301. <dd class="phpdocumentor-argument-list__definition">
  2302. <section class="phpdocumentor-description"></section>
  2303. </dd>
  2304. </dl>
  2305. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2306. Tags
  2307. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2308. </h5>
  2309. <dl class="phpdocumentor-tag-list">
  2310. <dt class="phpdocumentor-tag-list__entry">
  2311. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  2312. </dt>
  2313. <dd class="phpdocumentor-tag-list__definition">
  2314. </dd>
  2315. <dt class="phpdocumentor-tag-list__entry">
  2316. <span class="phpdocumentor-tag__name">throws</span>
  2317. </dt>
  2318. <dd class="phpdocumentor-tag-list__definition">
  2319. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  2320. </dd>
  2321. </dl>
  2322. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2323. <span class="phpdocumentor-signature__response_type">self</span>
  2324. &mdash;
  2325. </article>
  2326. <article
  2327. class="phpdocumentor-element
  2328. -method
  2329. -public
  2330. "
  2331. >
  2332. <h4 class="phpdocumentor-element__name" id="method_setQuietZone">
  2333. setQuietZone()
  2334. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_setQuietZone" class="headerlink"><i class="fas fa-link"></i></a>
  2335. </h4>
  2336. <aside class="phpdocumentor-element-found-in">
  2337. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2338. :
  2339. <span class="phpdocumentor-element-found-in__line">419</span>
  2340. </aside>
  2341. <p class="phpdocumentor-summary">Draws the &quot;quiet zone&quot; of $size around the matrix</p>
  2342. <code class="phpdocumentor-code phpdocumentor-signature ">
  2343. <span class="phpdocumentor-signature__visibility">public</span>
  2344. <span class="phpdocumentor-signature__name">setQuietZone</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$quietZoneSize</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2345. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2346. <dl class="phpdocumentor-argument-list">
  2347. <dt class="phpdocumentor-argument-list__entry">
  2348. <span class="phpdocumentor-signature__argument__name">$quietZoneSize</span>
  2349. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2350. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  2351. <dd class="phpdocumentor-argument-list__definition">
  2352. <section class="phpdocumentor-description"></section>
  2353. </dd>
  2354. </dl>
  2355. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2356. Tags
  2357. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2358. </h5>
  2359. <dl class="phpdocumentor-tag-list">
  2360. <dt class="phpdocumentor-tag-list__entry">
  2361. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  2362. </dt>
  2363. <dd class="phpdocumentor-tag-list__definition">
  2364. </dd>
  2365. <dt class="phpdocumentor-tag-list__entry">
  2366. <span class="phpdocumentor-tag__name">throws</span>
  2367. </dt>
  2368. <dd class="phpdocumentor-tag-list__definition">
  2369. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  2370. </dd>
  2371. </dl>
  2372. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2373. <span class="phpdocumentor-signature__response_type">self</span>
  2374. &mdash;
  2375. </article>
  2376. <article
  2377. class="phpdocumentor-element
  2378. -method
  2379. -public
  2380. "
  2381. >
  2382. <h4 class="phpdocumentor-element__name" id="method_setSeparators">
  2383. setSeparators()
  2384. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setSeparators" class="headerlink"><i class="fas fa-link"></i></a>
  2385. </h4>
  2386. <aside class="phpdocumentor-element-found-in">
  2387. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2388. :
  2389. <span class="phpdocumentor-element-found-in__line">406</span>
  2390. </aside>
  2391. <p class="phpdocumentor-summary">Draws the separator lines around the finder patterns</p>
  2392. <code class="phpdocumentor-code phpdocumentor-signature ">
  2393. <span class="phpdocumentor-signature__visibility">public</span>
  2394. <span class="phpdocumentor-signature__name">setSeparators</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2395. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 7.3.3</p>
  2396. </section>
  2397. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2398. <span class="phpdocumentor-signature__response_type">self</span>
  2399. &mdash;
  2400. </article>
  2401. <article
  2402. class="phpdocumentor-element
  2403. -method
  2404. -public
  2405. "
  2406. >
  2407. <h4 class="phpdocumentor-element__name" id="method_setTimingPattern">
  2408. setTimingPattern()
  2409. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setTimingPattern" class="headerlink"><i class="fas fa-link"></i></a>
  2410. </h4>
  2411. <aside class="phpdocumentor-element-found-in">
  2412. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2413. :
  2414. <span class="phpdocumentor-element-found-in__line">465</span>
  2415. </aside>
  2416. <p class="phpdocumentor-summary">Draws the timing pattern (h/v checkered line between the finder patterns)</p>
  2417. <code class="phpdocumentor-code phpdocumentor-signature ">
  2418. <span class="phpdocumentor-signature__visibility">public</span>
  2419. <span class="phpdocumentor-signature__name">setTimingPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2420. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 7.3.4</p>
  2421. </section>
  2422. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2423. <span class="phpdocumentor-signature__response_type">self</span>
  2424. &mdash;
  2425. </article>
  2426. <article
  2427. class="phpdocumentor-element
  2428. -method
  2429. -public
  2430. "
  2431. >
  2432. <h4 class="phpdocumentor-element__name" id="method_setVersionNumber">
  2433. setVersionNumber()
  2434. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_setVersionNumber" class="headerlink"><i class="fas fa-link"></i></a>
  2435. </h4>
  2436. <aside class="phpdocumentor-element-found-in">
  2437. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2438. :
  2439. <span class="phpdocumentor-element-found-in__line">487</span>
  2440. </aside>
  2441. <p class="phpdocumentor-summary">Draws the version information, 2x 3x6 pixel</p>
  2442. <code class="phpdocumentor-code phpdocumentor-signature ">
  2443. <span class="phpdocumentor-signature__visibility">public</span>
  2444. <span class="phpdocumentor-signature__name">setVersionNumber</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2445. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 8.10</p>
  2446. </section>
  2447. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2448. <span class="phpdocumentor-signature__response_type">self</span>
  2449. &mdash;
  2450. </article>
  2451. <article
  2452. class="phpdocumentor-element
  2453. -method
  2454. -public
  2455. -deprecated "
  2456. >
  2457. <h4 class="phpdocumentor-element__name" id="method_size">
  2458. size()
  2459. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_size" class="headerlink"><i class="fas fa-link"></i></a>
  2460. </h4>
  2461. <aside class="phpdocumentor-element-found-in">
  2462. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2463. :
  2464. <span class="phpdocumentor-element-found-in__line">240</span>
  2465. </aside>
  2466. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  2467. <span class="phpdocumentor-signature__visibility">public</span>
  2468. <span class="phpdocumentor-signature__name">size</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  2469. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2470. Tags
  2471. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2472. </h5>
  2473. <dl class="phpdocumentor-tag-list">
  2474. <dt class="phpdocumentor-tag-list__entry">
  2475. <span class="phpdocumentor-tag__name">deprecated</span>
  2476. </dt>
  2477. <dd class="phpdocumentor-tag-list__definition">
  2478. <span class="phpdocumentor-tag-link">5.0.0</span>
  2479. <section class="phpdocumentor-description"><p>use QRMatrix::getSize() instead</p>
  2480. </section>
  2481. </dd>
  2482. <dt class="phpdocumentor-tag-list__entry">
  2483. <span class="phpdocumentor-tag__name">see</span>
  2484. </dt>
  2485. <dd class="phpdocumentor-tag-list__definition">
  2486. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getSize"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getSize()">QRMatrix::getSize()</abbr></a></span>
  2487. </dd>
  2488. <dt class="phpdocumentor-tag-list__entry">
  2489. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  2490. </dt>
  2491. <dd class="phpdocumentor-tag-list__definition">
  2492. </dd>
  2493. </dl>
  2494. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2495. <span class="phpdocumentor-signature__response_type">int</span>
  2496. &mdash;
  2497. </article>
  2498. <article
  2499. class="phpdocumentor-element
  2500. -method
  2501. -public
  2502. -deprecated "
  2503. >
  2504. <h4 class="phpdocumentor-element__name" id="method_version">
  2505. version()
  2506. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_version" class="headerlink"><i class="fas fa-link"></i></a>
  2507. </h4>
  2508. <aside class="phpdocumentor-element-found-in">
  2509. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2510. :
  2511. <span class="phpdocumentor-element-found-in__line">190</span>
  2512. </aside>
  2513. <code class="phpdocumentor-code phpdocumentor-signature -deprecated">
  2514. <span class="phpdocumentor-signature__visibility">public</span>
  2515. <span class="phpdocumentor-signature__name">version</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span></code>
  2516. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2517. Tags
  2518. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2519. </h5>
  2520. <dl class="phpdocumentor-tag-list">
  2521. <dt class="phpdocumentor-tag-list__entry">
  2522. <span class="phpdocumentor-tag__name">deprecated</span>
  2523. </dt>
  2524. <dd class="phpdocumentor-tag-list__definition">
  2525. <span class="phpdocumentor-tag-link">5.0.0</span>
  2526. <section class="phpdocumentor-description"><p>use QRMatrix::getVersion() instead</p>
  2527. </section>
  2528. </dd>
  2529. <dt class="phpdocumentor-tag-list__entry">
  2530. <span class="phpdocumentor-tag__name">see</span>
  2531. </dt>
  2532. <dd class="phpdocumentor-tag-list__definition">
  2533. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_getVersion"><abbr title="\chillerlan\QRCode\Data\QRMatrix::getVersion()">QRMatrix::getVersion()</abbr></a></span>
  2534. </dd>
  2535. <dt class="phpdocumentor-tag-list__entry">
  2536. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  2537. </dt>
  2538. <dd class="phpdocumentor-tag-list__definition">
  2539. </dd>
  2540. </dl>
  2541. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2542. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span>
  2543. &mdash;
  2544. </article>
  2545. <article
  2546. class="phpdocumentor-element
  2547. -method
  2548. -public
  2549. "
  2550. >
  2551. <h4 class="phpdocumentor-element__name" id="method_writeCodewords">
  2552. writeCodewords()
  2553. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_writeCodewords" class="headerlink"><i class="fas fa-link"></i></a>
  2554. </h4>
  2555. <aside class="phpdocumentor-element-found-in">
  2556. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2557. :
  2558. <span class="phpdocumentor-element-found-in__line">668</span>
  2559. </aside>
  2560. <p class="phpdocumentor-summary">Maps the interleaved binary $data on the matrix</p>
  2561. <code class="phpdocumentor-code phpdocumentor-signature ">
  2562. <span class="phpdocumentor-signature__visibility">public</span>
  2563. <span class="phpdocumentor-signature__name">writeCodewords</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bitBuffer</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2564. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2565. <dl class="phpdocumentor-argument-list">
  2566. <dt class="phpdocumentor-argument-list__entry">
  2567. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  2568. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  2569. </dt>
  2570. <dd class="phpdocumentor-argument-list__definition">
  2571. <section class="phpdocumentor-description"></section>
  2572. </dd>
  2573. </dl>
  2574. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2575. <span class="phpdocumentor-signature__response_type">self</span>
  2576. &mdash;
  2577. </article>
  2578. <article
  2579. class="phpdocumentor-element
  2580. -method
  2581. -protected
  2582. "
  2583. >
  2584. <h4 class="phpdocumentor-element__name" id="method_createMatrix">
  2585. createMatrix()
  2586. <a href="classes/chillerlan-QRCode-Data-QRMatrix.html#method_createMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  2587. </h4>
  2588. <aside class="phpdocumentor-element-found-in">
  2589. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRMatrix.php"><a href="files/src-data-qrmatrix.html"><abbr title="src/Data/QRMatrix.php">QRMatrix.php</abbr></a></abbr>
  2590. :
  2591. <span class="phpdocumentor-element-found-in__line">129</span>
  2592. </aside>
  2593. <p class="phpdocumentor-summary">Creates a 2-dimensional array (square) of the given $size</p>
  2594. <code class="phpdocumentor-code phpdocumentor-signature ">
  2595. <span class="phpdocumentor-signature__visibility">protected</span>
  2596. <span class="phpdocumentor-signature__name">createMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$size</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  2597. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2598. <dl class="phpdocumentor-argument-list">
  2599. <dt class="phpdocumentor-argument-list__entry">
  2600. <span class="phpdocumentor-signature__argument__name">$size</span>
  2601. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2602. </dt>
  2603. <dd class="phpdocumentor-argument-list__definition">
  2604. <section class="phpdocumentor-description"></section>
  2605. </dd>
  2606. <dt class="phpdocumentor-argument-list__entry">
  2607. <span class="phpdocumentor-signature__argument__name">$value</span>
  2608. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2609. </dt>
  2610. <dd class="phpdocumentor-argument-list__definition">
  2611. <section class="phpdocumentor-description"></section>
  2612. </dd>
  2613. </dl>
  2614. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2615. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  2616. &mdash;
  2617. </article>
  2618. <article
  2619. class="phpdocumentor-element
  2620. -method
  2621. -private
  2622. "
  2623. >
  2624. <h4 class="phpdocumentor-element__name" id="method_copyVersionBit">
  2625. copyVersionBit()
  2626. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_copyVersionBit" class="headerlink"><i class="fas fa-link"></i></a>
  2627. </h4>
  2628. <aside class="phpdocumentor-element-found-in">
  2629. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2630. :
  2631. <span class="phpdocumentor-element-found-in__line">244</span>
  2632. </aside>
  2633. <code class="phpdocumentor-code phpdocumentor-signature ">
  2634. <span class="phpdocumentor-signature__visibility">private</span>
  2635. <span class="phpdocumentor-signature__name">copyVersionBit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$i</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$j</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionBits</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  2636. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2637. <dl class="phpdocumentor-argument-list">
  2638. <dt class="phpdocumentor-argument-list__entry">
  2639. <span class="phpdocumentor-signature__argument__name">$i</span>
  2640. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2641. </dt>
  2642. <dd class="phpdocumentor-argument-list__definition">
  2643. <section class="phpdocumentor-description"></section>
  2644. </dd>
  2645. <dt class="phpdocumentor-argument-list__entry">
  2646. <span class="phpdocumentor-signature__argument__name">$j</span>
  2647. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2648. </dt>
  2649. <dd class="phpdocumentor-argument-list__definition">
  2650. <section class="phpdocumentor-description"></section>
  2651. </dd>
  2652. <dt class="phpdocumentor-argument-list__entry">
  2653. <span class="phpdocumentor-signature__argument__name">$versionBits</span>
  2654. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2655. </dt>
  2656. <dd class="phpdocumentor-argument-list__definition">
  2657. <section class="phpdocumentor-description"></section>
  2658. </dd>
  2659. </dl>
  2660. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2661. <span class="phpdocumentor-signature__response_type">int</span>
  2662. &mdash;
  2663. </article>
  2664. <article
  2665. class="phpdocumentor-element
  2666. -method
  2667. -private
  2668. "
  2669. >
  2670. <h4 class="phpdocumentor-element__name" id="method_decodeVersionInformation">
  2671. decodeVersionInformation()
  2672. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_decodeVersionInformation" class="headerlink"><i class="fas fa-link"></i></a>
  2673. </h4>
  2674. <aside class="phpdocumentor-element-found-in">
  2675. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2676. :
  2677. <span class="phpdocumentor-element-found-in__line">352</span>
  2678. </aside>
  2679. <p class="phpdocumentor-summary">Decodes the version information from the given bit sequence, returns null if no valid match is found.</p>
  2680. <code class="phpdocumentor-code phpdocumentor-signature ">
  2681. <span class="phpdocumentor-signature__visibility">private</span>
  2682. <span class="phpdocumentor-signature__name">decodeVersionInformation</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionBits</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span></code>
  2683. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2684. <dl class="phpdocumentor-argument-list">
  2685. <dt class="phpdocumentor-argument-list__entry">
  2686. <span class="phpdocumentor-signature__argument__name">$versionBits</span>
  2687. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2688. </dt>
  2689. <dd class="phpdocumentor-argument-list__definition">
  2690. <section class="phpdocumentor-description"></section>
  2691. </dd>
  2692. </dl>
  2693. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2694. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span>
  2695. &mdash;
  2696. </article>
  2697. <article
  2698. class="phpdocumentor-element
  2699. -method
  2700. -private
  2701. "
  2702. >
  2703. <h4 class="phpdocumentor-element__name" id="method_doDecodeFormatInformation">
  2704. doDecodeFormatInformation()
  2705. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_doDecodeFormatInformation" class="headerlink"><i class="fas fa-link"></i></a>
  2706. </h4>
  2707. <aside class="phpdocumentor-element-found-in">
  2708. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2709. :
  2710. <span class="phpdocumentor-element-found-in__line">256</span>
  2711. </aside>
  2712. <p class="phpdocumentor-summary">Returns information about the format it specifies, or null if it doesn&#039;t seem to match any known pattern</p>
  2713. <code class="phpdocumentor-code phpdocumentor-signature ">
  2714. <span class="phpdocumentor-signature__visibility">private</span>
  2715. <span class="phpdocumentor-signature__name">doDecodeFormatInformation</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskedFormatInfo1</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskedFormatInfo2</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
  2716. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2717. <dl class="phpdocumentor-argument-list">
  2718. <dt class="phpdocumentor-argument-list__entry">
  2719. <span class="phpdocumentor-signature__argument__name">$maskedFormatInfo1</span>
  2720. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2721. </dt>
  2722. <dd class="phpdocumentor-argument-list__definition">
  2723. <section class="phpdocumentor-description"></section>
  2724. </dd>
  2725. <dt class="phpdocumentor-argument-list__entry">
  2726. <span class="phpdocumentor-signature__argument__name">$maskedFormatInfo2</span>
  2727. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2728. </dt>
  2729. <dd class="phpdocumentor-argument-list__definition">
  2730. <section class="phpdocumentor-description"></section>
  2731. </dd>
  2732. </dl>
  2733. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2734. <span class="phpdocumentor-signature__response_type">int|null</span>
  2735. &mdash;
  2736. </article>
  2737. <article
  2738. class="phpdocumentor-element
  2739. -method
  2740. -private
  2741. "
  2742. >
  2743. <h4 class="phpdocumentor-element__name" id="method_numBitsDiffering">
  2744. numBitsDiffering()
  2745. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_numBitsDiffering" class="headerlink"><i class="fas fa-link"></i></a>
  2746. </h4>
  2747. <aside class="phpdocumentor-element-found-in">
  2748. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2749. :
  2750. <span class="phpdocumentor-element-found-in__line">400</span>
  2751. </aside>
  2752. <code class="phpdocumentor-code phpdocumentor-signature ">
  2753. <span class="phpdocumentor-signature__visibility">private</span>
  2754. <span class="phpdocumentor-signature__name">numBitsDiffering</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$a</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$b</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  2755. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2756. <dl class="phpdocumentor-argument-list">
  2757. <dt class="phpdocumentor-argument-list__entry">
  2758. <span class="phpdocumentor-signature__argument__name">$a</span>
  2759. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2760. </dt>
  2761. <dd class="phpdocumentor-argument-list__definition">
  2762. <section class="phpdocumentor-description"></section>
  2763. </dd>
  2764. <dt class="phpdocumentor-argument-list__entry">
  2765. <span class="phpdocumentor-signature__argument__name">$b</span>
  2766. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2767. </dt>
  2768. <dd class="phpdocumentor-argument-list__definition">
  2769. <section class="phpdocumentor-description"></section>
  2770. </dd>
  2771. </dl>
  2772. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2773. <span class="phpdocumentor-signature__response_type">int</span>
  2774. &mdash;
  2775. </article>
  2776. <article
  2777. class="phpdocumentor-element
  2778. -method
  2779. -private
  2780. "
  2781. >
  2782. <h4 class="phpdocumentor-element__name" id="method_readFormatInformation">
  2783. readFormatInformation()
  2784. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_readFormatInformation" class="headerlink"><i class="fas fa-link"></i></a>
  2785. </h4>
  2786. <aside class="phpdocumentor-element-found-in">
  2787. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2788. :
  2789. <span class="phpdocumentor-element-found-in__line">183</span>
  2790. </aside>
  2791. <p class="phpdocumentor-summary">Reads format information from one of its two locations within the QR Code.</p>
  2792. <code class="phpdocumentor-code phpdocumentor-signature ">
  2793. <span class="phpdocumentor-signature__visibility">private</span>
  2794. <span class="phpdocumentor-signature__name">readFormatInformation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2795. <section class="phpdocumentor-description"><p>Throws if both format information locations cannot be parsed as the valid encoding of format information.</p>
  2796. </section>
  2797. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2798. Tags
  2799. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2800. </h5>
  2801. <dl class="phpdocumentor-tag-list">
  2802. <dt class="phpdocumentor-tag-list__entry">
  2803. <span class="phpdocumentor-tag__name">throws</span>
  2804. </dt>
  2805. <dd class="phpdocumentor-tag-list__definition">
  2806. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  2807. </dd>
  2808. </dl>
  2809. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2810. <span class="phpdocumentor-signature__response_type">self</span>
  2811. &mdash;
  2812. </article>
  2813. <article
  2814. class="phpdocumentor-element
  2815. -method
  2816. -private
  2817. "
  2818. >
  2819. <h4 class="phpdocumentor-element__name" id="method_readVersion">
  2820. readVersion()
  2821. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_readVersion" class="headerlink"><i class="fas fa-link"></i></a>
  2822. </h4>
  2823. <aside class="phpdocumentor-element-found-in">
  2824. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2825. :
  2826. <span class="phpdocumentor-element-found-in__line">300</span>
  2827. </aside>
  2828. <p class="phpdocumentor-summary">Reads version information from one of its two locations within the QR Code.</p>
  2829. <code class="phpdocumentor-code phpdocumentor-signature ">
  2830. <span class="phpdocumentor-signature__visibility">private</span>
  2831. <span class="phpdocumentor-signature__name">readVersion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  2832. <section class="phpdocumentor-description"><p>Throws if both version information locations cannot be parsed as the valid encoding of version information.</p>
  2833. </section>
  2834. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2835. Tags
  2836. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2837. </h5>
  2838. <dl class="phpdocumentor-tag-list">
  2839. <dt class="phpdocumentor-tag-list__entry">
  2840. <span class="phpdocumentor-tag__name">throws</span>
  2841. </dt>
  2842. <dd class="phpdocumentor-tag-list__definition">
  2843. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  2844. </dd>
  2845. <dt class="phpdocumentor-tag-list__entry">
  2846. <span class="phpdocumentor-tag__name">noinspection</span>
  2847. </dt>
  2848. <dd class="phpdocumentor-tag-list__definition">
  2849. <section class="phpdocumentor-description"><p>DuplicatedCode</p>
  2850. </section>
  2851. </dd>
  2852. </dl>
  2853. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2854. <span class="phpdocumentor-signature__response_type">self</span>
  2855. &mdash;
  2856. </article>
  2857. <article
  2858. class="phpdocumentor-element
  2859. -method
  2860. -private
  2861. "
  2862. >
  2863. <h4 class="phpdocumentor-element__name" id="method_uRShift">
  2864. uRShift()
  2865. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#method_uRShift" class="headerlink"><i class="fas fa-link"></i></a>
  2866. </h4>
  2867. <aside class="phpdocumentor-element-found-in">
  2868. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/BitMatrix.php"><a href="files/src-decoder-bitmatrix.html"><abbr title="src/Decoder/BitMatrix.php">BitMatrix.php</abbr></a></abbr>
  2869. :
  2870. <span class="phpdocumentor-element-found-in__line">388</span>
  2871. </aside>
  2872. <code class="phpdocumentor-code phpdocumentor-signature ">
  2873. <span class="phpdocumentor-signature__visibility">private</span>
  2874. <span class="phpdocumentor-signature__name">uRShift</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$a</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$b</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  2875. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2876. <dl class="phpdocumentor-argument-list">
  2877. <dt class="phpdocumentor-argument-list__entry">
  2878. <span class="phpdocumentor-signature__argument__name">$a</span>
  2879. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2880. </dt>
  2881. <dd class="phpdocumentor-argument-list__definition">
  2882. <section class="phpdocumentor-description"></section>
  2883. </dd>
  2884. <dt class="phpdocumentor-argument-list__entry">
  2885. <span class="phpdocumentor-signature__argument__name">$b</span>
  2886. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2887. </dt>
  2888. <dd class="phpdocumentor-argument-list__definition">
  2889. <section class="phpdocumentor-description"></section>
  2890. </dd>
  2891. </dl>
  2892. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2893. <span class="phpdocumentor-signature__response_type">int</span>
  2894. &mdash;
  2895. </article>
  2896. </section>
  2897. <script type="text/javascript">
  2898. function loadExternalCodeSnippets(line) {
  2899. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  2900. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  2901. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  2902. var language = 'php';
  2903. var code = document.createElement('code');
  2904. code.className = 'language-' + language;
  2905. pre.textContent = '';
  2906. pre.setAttribute('data-line', line)
  2907. code.textContent = 'Loading…';
  2908. pre.appendChild(code);
  2909. var xhr = new XMLHttpRequest();
  2910. xhr.open('GET', src, true);
  2911. xhr.onreadystatechange = function () {
  2912. if (xhr.readyState == 4) {
  2913. if (xhr.status < 400 && xhr.responseText) {
  2914. code.textContent = xhr.responseText;
  2915. Prism.highlightElement(code);
  2916. }
  2917. else if (xhr.status >= 400) {
  2918. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  2919. }
  2920. else {
  2921. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  2922. }
  2923. }
  2924. };
  2925. xhr.send(null);
  2926. });
  2927. }
  2928. var modals = document.querySelectorAll("[data-modal]");
  2929. modals.forEach(function (trigger) {
  2930. trigger.addEventListener("click", function (event) {
  2931. //event.preventDefault();
  2932. const modal = document.getElementById(trigger.dataset.modal);
  2933. modal.classList.add("phpdocumentor-modal__open");
  2934. loadExternalCodeSnippets(trigger.dataset.line)
  2935. const exits = modal.querySelectorAll("[data-exit-button]");
  2936. exits.forEach(function (exit) {
  2937. exit.addEventListener("click", function (event) {
  2938. event.preventDefault();
  2939. modal.classList.remove("phpdocumentor-modal__open");
  2940. });
  2941. });
  2942. });
  2943. });
  2944. </script>
  2945. </article>
  2946. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  2947. <section class="phpdocumentor-search-results__dialog">
  2948. <header class="phpdocumentor-search-results__header">
  2949. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  2950. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  2951. </header>
  2952. <section class="phpdocumentor-search-results__body">
  2953. <ul class="phpdocumentor-search-results__entries"></ul>
  2954. </section>
  2955. </section>
  2956. </section>
  2957. </div>
  2958. </div>
  2959. <a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  2960. </main>
  2961. <script>
  2962. cssVars({});
  2963. </script>
  2964. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  2965. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  2966. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  2967. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  2968. </body>
  2969. </html>