chillerlan-QRCode-Output-QRMarkupSVG.html 125 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639
  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=Open+Sans:wght@100;200;300;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/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  111. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-output.html">Output</a></li>
  112. </ul>
  113. <article class="phpdocumentor-element -class">
  114. <h2 class="phpdocumentor-content__title">
  115. QRMarkupSVG
  116. <span class="phpdocumentor-element__extends">
  117. extends <a href="classes/chillerlan-QRCode-Output-QRMarkup.html"><abbr title="\chillerlan\QRCode\Output\QRMarkup">QRMarkup</abbr></a>
  118. </span>
  119. <div class="phpdocumentor-element__package">
  120. in package
  121. <ul class="phpdocumentor-breadcrumbs">
  122. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  123. </ul>
  124. </div>
  125. </h2>
  126. <div class="phpdocumentor-label-line">
  127. </div>
  128. <aside class="phpdocumentor-element-found-in">
  129. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  130. :
  131. <span class="phpdocumentor-element-found-in__line">27</span>
  132. </aside>
  133. <p class="phpdocumentor-summary">SVG output</p>
  134. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  135. Tags
  136. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  137. </h5>
  138. <dl class="phpdocumentor-tag-list">
  139. <dt class="phpdocumentor-tag-list__entry">
  140. <span class="phpdocumentor-tag__name">see</span>
  141. </dt>
  142. <dd class="phpdocumentor-tag-list__definition">
  143. <span class="phpdocumentor-tag-link"><a href="https://github.com/codemasher/php-qrcode/pull/5">https://github.com/codemasher/php-qrcode/pull/5</a></span>
  144. </dd>
  145. <dt class="phpdocumentor-tag-list__entry">
  146. <span class="phpdocumentor-tag__name">see</span>
  147. </dt>
  148. <dd class="phpdocumentor-tag-list__definition">
  149. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG">https://developer.mozilla.org/en-US/docs/Web/SVG</a></span>
  150. </dd>
  151. <dt class="phpdocumentor-tag-list__entry">
  152. <span class="phpdocumentor-tag__name">see</span>
  153. </dt>
  154. <dd class="phpdocumentor-tag-list__definition">
  155. <span class="phpdocumentor-tag-link"><a href="https://www.sarasoueidan.com/demos/interactive-svg-coordinate-system/">https://www.sarasoueidan.com/demos/interactive-svg-coordinate-system/</a></span>
  156. </dd>
  157. <dt class="phpdocumentor-tag-list__entry">
  158. <span class="phpdocumentor-tag__name">see</span>
  159. </dt>
  160. <dd class="phpdocumentor-tag-list__definition">
  161. <span class="phpdocumentor-tag-link"><a href="https://lea.verou.me/blog/2019/05/utility-convert-svg-path-to-all-relative-or-all-absolute-commands/">https://lea.verou.me/blog/2019/05/utility-convert-svg-path-to-all-relative-or-all-absolute-commands/</a></span>
  162. </dd>
  163. <dt class="phpdocumentor-tag-list__entry">
  164. <span class="phpdocumentor-tag__name">see</span>
  165. </dt>
  166. <dd class="phpdocumentor-tag-list__definition">
  167. <span class="phpdocumentor-tag-link"><a href="https://codepen.io/leaverou/full/RmwzKv">https://codepen.io/leaverou/full/RmwzKv</a></span>
  168. </dd>
  169. <dt class="phpdocumentor-tag-list__entry">
  170. <span class="phpdocumentor-tag__name">see</span>
  171. </dt>
  172. <dd class="phpdocumentor-tag-list__definition">
  173. <span class="phpdocumentor-tag-link"><a href="https://jakearchibald.github.io/svgomg/">https://jakearchibald.github.io/svgomg/</a></span>
  174. </dd>
  175. <dt class="phpdocumentor-tag-list__entry">
  176. <span class="phpdocumentor-tag__name">see</span>
  177. </dt>
  178. <dd class="phpdocumentor-tag-list__definition">
  179. <span class="phpdocumentor-tag-link"><a href="https://web.archive.org/web/20200220211445/http://apex.infogridpacific.com/SVG/svg-tutorial-contents.html">https://web.archive.org/web/20200220211445/http://apex.infogridpacific.com/SVG/svg-tutorial-contents.html</a></span>
  180. </dd>
  181. </dl>
  182. <h3 id="toc">
  183. Table of Contents
  184. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  185. </h3>
  186. <h4 id="toc-constants">
  187. Constants
  188. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  189. </h4>
  190. <dl class="phpdocumentor-table-of-contents">
  191. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  192. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constant_MIME_TYPE">MIME_TYPE</a>
  193. <span>
  194. &nbsp;= &#039;image/svg+xml&#039; </span>
  195. </dt>
  196. </dl>
  197. <h4 id="toc-properties">
  198. Properties
  199. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  200. </h4>
  201. <dl class="phpdocumentor-table-of-contents">
  202. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  203. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</a>
  204. <span>
  205. &nbsp;: float </span>
  206. </dt>
  207. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  208. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</a>
  209. <span>
  210. &nbsp;: float </span>
  211. </dt>
  212. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  213. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</a>
  214. <span>
  215. &nbsp;: bool </span>
  216. </dt>
  217. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  218. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</a>
  219. <span>
  220. &nbsp;: bool </span>
  221. </dt>
  222. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  223. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</a>
  224. <span>
  225. &nbsp;: bool </span>
  226. </dt>
  227. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  228. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</a>
  229. <span>
  230. &nbsp;: string </span>
  231. </dt>
  232. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  233. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</a>
  234. <span>
  235. &nbsp;: array&lt;string|int, int&gt; </span>
  236. </dt>
  237. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  238. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</a>
  239. <span>
  240. &nbsp;: array&lt;string|int, int&gt; </span>
  241. </dt>
  242. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  243. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a>
  244. <span>
  245. &nbsp;: int </span>
  246. </dt>
  247. <dd>the side length of the QR image (modules * scale)</dd>
  248. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  249. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a>
  250. <span>
  251. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  252. </dt>
  253. <dd>the (filled) data matrix object</dd>
  254. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  255. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a>
  256. <span>
  257. &nbsp;: int </span>
  258. </dt>
  259. <dd>the current size of the QR matrix</dd>
  260. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  261. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a>
  262. <span>
  263. &nbsp;: array&lt;string|int, mixed&gt; </span>
  264. </dt>
  265. <dd>an (optional) array of color values for the several QR matrix parts</dd>
  266. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  267. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a>
  268. <span>
  269. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  270. </dt>
  271. <dd>the options instance</dd>
  272. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  273. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a>
  274. <span>
  275. &nbsp;: int </span>
  276. </dt>
  277. </dl>
  278. <h4 id="toc-methods">
  279. Methods
  280. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  281. </h4>
  282. <dl class="phpdocumentor-table-of-contents">
  283. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  284. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a>
  285. <span>
  286. &nbsp;: mixed </span>
  287. </dt>
  288. <dd>QROutputAbstract constructor.</dd>
  289. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  290. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a>
  291. <span>
  292. &nbsp;: string </span>
  293. </dt>
  294. <dd>Generates the output, optionally dumps it to a file, and returns it</dd>
  295. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  296. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid">moduleValueIsValid()</a>
  297. <span>
  298. &nbsp;: bool </span>
  299. </dt>
  300. <dd>Determines whether the given value is valid</dd>
  301. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  302. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a>
  303. <span>
  304. &nbsp;: array&lt;int, mixed&gt; </span>
  305. </dt>
  306. <dd>collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  307. returns an array with the transformed modules</dd>
  308. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  309. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a>
  310. <span>
  311. &nbsp;: void </span>
  312. </dt>
  313. <dd>Creates copies of several QROptions values to avoid calling the magic getters
  314. in long loops for a significant performance increase.</dd>
  315. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  316. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup">createMarkup()</a>
  317. <span>
  318. &nbsp;: string </span>
  319. </dt>
  320. <dd>returns the fully parsed and rendered markup string for the given input</dd>
  321. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  322. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass">getCssClass()</a>
  323. <span>
  324. &nbsp;: string </span>
  325. </dt>
  326. <dd>returns a string with all css classes for the current element</dd>
  327. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  328. <a class="" href="classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_getDefaultModuleValue">getDefaultModuleValue()</a>
  329. <span>
  330. &nbsp;: string </span>
  331. </dt>
  332. <dd>implements \chillerlan\QRCode\Output\QROutputAbstract::getDefaultModuleValue()</dd>
  333. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  334. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a>
  335. <span>
  336. &nbsp;: mixed </span>
  337. </dt>
  338. <dd>Returns the prepared value for the given $M_TYPE</dd>
  339. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  340. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a>
  341. <span>
  342. &nbsp;: mixed </span>
  343. </dt>
  344. <dd>Returns the prepared module value at the given coordinate [$x, $y] (convenience)</dd>
  345. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  346. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions">getOutputDimensions()</a>
  347. <span>
  348. &nbsp;: array&lt;string|int, int&gt; </span>
  349. </dt>
  350. <dd>Returns a 2 element array with the current output width and height</dd>
  351. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  352. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox">getViewBox()</a>
  353. <span>
  354. &nbsp;: string </span>
  355. </dt>
  356. <dd>returns the value for the SVG viewBox attribute</dd>
  357. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  358. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_guessMimeType">guessMimeType()</a>
  359. <span>
  360. &nbsp;: string </span>
  361. </dt>
  362. <dd>Guesses the mime type from the given $imageData</dd>
  363. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  364. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header">header()</a>
  365. <span>
  366. &nbsp;: string </span>
  367. </dt>
  368. <dd>returns the &lt;svg&gt; header with the given options parsed</dd>
  369. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  370. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module">module()</a>
  371. <span>
  372. &nbsp;: string </span>
  373. </dt>
  374. <dd>returns a path segment for a single module</dd>
  375. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  376. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path">path()</a>
  377. <span>
  378. &nbsp;: string </span>
  379. </dt>
  380. <dd>renders and returns a single &lt;path&gt; element</dd>
  381. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  382. <a class="" href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_paths">paths()</a>
  383. <span>
  384. &nbsp;: string </span>
  385. </dt>
  386. <dd>returns one or more SVG &lt;path&gt; elements</dd>
  387. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  388. <a class="" href="classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_prepareModuleValue">prepareModuleValue()</a>
  389. <span>
  390. &nbsp;: string </span>
  391. </dt>
  392. <dd>implements \chillerlan\QRCode\Output\QROutputAbstract::prepareModuleValue()</dd>
  393. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  394. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a>
  395. <span>
  396. &nbsp;: void </span>
  397. </dt>
  398. <dd>Saves the qr $data to a $file. If $file is null, nothing happens.</dd>
  399. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  400. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a>
  401. <span>
  402. &nbsp;: void </span>
  403. </dt>
  404. <dd>Sets/updates the matrix dimensions</dd>
  405. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  406. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a>
  407. <span>
  408. &nbsp;: void </span>
  409. </dt>
  410. <dd>Sets the initial module values</dd>
  411. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  412. <a class="" href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a>
  413. <span>
  414. &nbsp;: string </span>
  415. </dt>
  416. <dd>Returns a base64 data URI for the given string and mime type</dd>
  417. </dl>
  418. <section class="phpdocumentor-constants">
  419. <h3 class="phpdocumentor-elements__header" id="constants">
  420. Constants
  421. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  422. </h3>
  423. <article class="phpdocumentor-element -constant -public ">
  424. <h4 class="phpdocumentor-element__name" id="constant_MIME_TYPE">
  425. MIME_TYPE
  426. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constant_MIME_TYPE" class="headerlink"><i class="fas fa-link"></i></a>
  427. </h4>
  428. <aside class="phpdocumentor-element-found-in">
  429. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  430. :
  431. <span class="phpdocumentor-element-found-in__line">29</span>
  432. </aside>
  433. <code class="phpdocumentor-signature phpdocumentor-code ">
  434. <span class="phpdocumentor-signature__visibility">public</span>
  435. <span class="phpdocumentor-signature__final">final</span> <span class="phpdocumentor-signature__type">mixed</span>
  436. <span class="phpdocumentor-signature__name">MIME_TYPE</span>
  437. = <span class="phpdocumentor-signature__default-value">&#039;image/svg+xml&#039;</span>
  438. </code>
  439. </article>
  440. </section>
  441. <section class="phpdocumentor-properties">
  442. <h3 class="phpdocumentor-elements__header" id="properties">
  443. Properties
  444. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  445. </h3>
  446. <article
  447. class="
  448. phpdocumentor-element
  449. -property
  450. -protected
  451. "
  452. >
  453. <h4 class="phpdocumentor-element__name" id="property_circleDiameter">
  454. $circleDiameter
  455. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter" class="headerlink"><i class="fas fa-link"></i></a>
  456. <span class="phpdocumentor-element__modifiers">
  457. </span>
  458. </h4>
  459. <aside class="phpdocumentor-element-found-in">
  460. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  461. :
  462. <span class="phpdocumentor-element-found-in__line">79</span>
  463. </aside>
  464. <code class="phpdocumentor-code phpdocumentor-signature ">
  465. <span class="phpdocumentor-signature__visibility">protected</span>
  466. <span class="phpdocumentor-signature__type">float</span>
  467. <span class="phpdocumentor-signature__name">$circleDiameter</span>
  468. </code>
  469. </article>
  470. <article
  471. class="
  472. phpdocumentor-element
  473. -property
  474. -protected
  475. "
  476. >
  477. <h4 class="phpdocumentor-element__name" id="property_circleRadius">
  478. $circleRadius
  479. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  480. <span class="phpdocumentor-element__modifiers">
  481. </span>
  482. </h4>
  483. <aside class="phpdocumentor-element-found-in">
  484. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  485. :
  486. <span class="phpdocumentor-element-found-in__line">78</span>
  487. </aside>
  488. <code class="phpdocumentor-code phpdocumentor-signature ">
  489. <span class="phpdocumentor-signature__visibility">protected</span>
  490. <span class="phpdocumentor-signature__type">float</span>
  491. <span class="phpdocumentor-signature__name">$circleRadius</span>
  492. </code>
  493. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  494. Tags
  495. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius#tags" class="headerlink"><i class="fas fa-link"></i></a>
  496. </h5>
  497. <dl class="phpdocumentor-tag-list">
  498. <dt class="phpdocumentor-tag-list__entry">
  499. <span class="phpdocumentor-tag__name">see</span>
  500. </dt>
  501. <dd class="phpdocumentor-tag-list__definition">
  502. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$circleRadius">QROptions::$circleRadius</abbr></span>
  503. </dd>
  504. </dl>
  505. </article>
  506. <article
  507. class="
  508. phpdocumentor-element
  509. -property
  510. -protected
  511. "
  512. >
  513. <h4 class="phpdocumentor-element__name" id="property_connectPaths">
  514. $connectPaths
  515. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths" class="headerlink"><i class="fas fa-link"></i></a>
  516. <span class="phpdocumentor-element__modifiers">
  517. </span>
  518. </h4>
  519. <aside class="phpdocumentor-element-found-in">
  520. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  521. :
  522. <span class="phpdocumentor-element-found-in__line">70</span>
  523. </aside>
  524. <code class="phpdocumentor-code phpdocumentor-signature ">
  525. <span class="phpdocumentor-signature__visibility">protected</span>
  526. <span class="phpdocumentor-signature__type">bool</span>
  527. <span class="phpdocumentor-signature__name">$connectPaths</span>
  528. </code>
  529. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  530. Tags
  531. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths#tags" class="headerlink"><i class="fas fa-link"></i></a>
  532. </h5>
  533. <dl class="phpdocumentor-tag-list">
  534. <dt class="phpdocumentor-tag-list__entry">
  535. <span class="phpdocumentor-tag__name">see</span>
  536. </dt>
  537. <dd class="phpdocumentor-tag-list__definition">
  538. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$connectPaths">QROptions::$connectPaths</abbr></span>
  539. </dd>
  540. </dl>
  541. </article>
  542. <article
  543. class="
  544. phpdocumentor-element
  545. -property
  546. -protected
  547. "
  548. >
  549. <h4 class="phpdocumentor-element__name" id="property_drawCircularModules">
  550. $drawCircularModules
  551. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules" class="headerlink"><i class="fas fa-link"></i></a>
  552. <span class="phpdocumentor-element__modifiers">
  553. </span>
  554. </h4>
  555. <aside class="phpdocumentor-element-found-in">
  556. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  557. :
  558. <span class="phpdocumentor-element-found-in__line">76</span>
  559. </aside>
  560. <code class="phpdocumentor-code phpdocumentor-signature ">
  561. <span class="phpdocumentor-signature__visibility">protected</span>
  562. <span class="phpdocumentor-signature__type">bool</span>
  563. <span class="phpdocumentor-signature__name">$drawCircularModules</span>
  564. </code>
  565. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  566. Tags
  567. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  568. </h5>
  569. <dl class="phpdocumentor-tag-list">
  570. <dt class="phpdocumentor-tag-list__entry">
  571. <span class="phpdocumentor-tag__name">see</span>
  572. </dt>
  573. <dd class="phpdocumentor-tag-list__definition">
  574. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawCircularModules">QROptions::$drawCircularModules</abbr></span>
  575. </dd>
  576. </dl>
  577. </article>
  578. <article
  579. class="
  580. phpdocumentor-element
  581. -property
  582. -protected
  583. "
  584. >
  585. <h4 class="phpdocumentor-element__name" id="property_drawLightModules">
  586. $drawLightModules
  587. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules" class="headerlink"><i class="fas fa-link"></i></a>
  588. <span class="phpdocumentor-element__modifiers">
  589. </span>
  590. </h4>
  591. <aside class="phpdocumentor-element-found-in">
  592. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  593. :
  594. <span class="phpdocumentor-element-found-in__line">74</span>
  595. </aside>
  596. <code class="phpdocumentor-code phpdocumentor-signature ">
  597. <span class="phpdocumentor-signature__visibility">protected</span>
  598. <span class="phpdocumentor-signature__type">bool</span>
  599. <span class="phpdocumentor-signature__name">$drawLightModules</span>
  600. </code>
  601. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  602. Tags
  603. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules#tags" class="headerlink"><i class="fas fa-link"></i></a>
  604. </h5>
  605. <dl class="phpdocumentor-tag-list">
  606. <dt class="phpdocumentor-tag-list__entry">
  607. <span class="phpdocumentor-tag__name">see</span>
  608. </dt>
  609. <dd class="phpdocumentor-tag-list__definition">
  610. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$drawLightModules">QROptions::$drawLightModules</abbr></span>
  611. </dd>
  612. </dl>
  613. </article>
  614. <article
  615. class="
  616. phpdocumentor-element
  617. -property
  618. -protected
  619. "
  620. >
  621. <h4 class="phpdocumentor-element__name" id="property_eol">
  622. $eol
  623. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  624. <span class="phpdocumentor-element__modifiers">
  625. </span>
  626. </h4>
  627. <aside class="phpdocumentor-element-found-in">
  628. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  629. :
  630. <span class="phpdocumentor-element-found-in__line">72</span>
  631. </aside>
  632. <code class="phpdocumentor-code phpdocumentor-signature ">
  633. <span class="phpdocumentor-signature__visibility">protected</span>
  634. <span class="phpdocumentor-signature__type">string</span>
  635. <span class="phpdocumentor-signature__name">$eol</span>
  636. </code>
  637. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  638. Tags
  639. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol#tags" class="headerlink"><i class="fas fa-link"></i></a>
  640. </h5>
  641. <dl class="phpdocumentor-tag-list">
  642. <dt class="phpdocumentor-tag-list__entry">
  643. <span class="phpdocumentor-tag__name">see</span>
  644. </dt>
  645. <dd class="phpdocumentor-tag-list__definition">
  646. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$eol">QROptions::$eol</abbr></span>
  647. </dd>
  648. </dl>
  649. </article>
  650. <article
  651. class="
  652. phpdocumentor-element
  653. -property
  654. -protected
  655. "
  656. >
  657. <h4 class="phpdocumentor-element__name" id="property_excludeFromConnect">
  658. $excludeFromConnect
  659. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect" class="headerlink"><i class="fas fa-link"></i></a>
  660. <span class="phpdocumentor-element__modifiers">
  661. </span>
  662. </h4>
  663. <aside class="phpdocumentor-element-found-in">
  664. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  665. :
  666. <span class="phpdocumentor-element-found-in__line">61</span>
  667. </aside>
  668. <code class="phpdocumentor-code phpdocumentor-signature ">
  669. <span class="phpdocumentor-signature__visibility">protected</span>
  670. <span class="phpdocumentor-signature__type">array&lt;string|int, int&gt;</span>
  671. <span class="phpdocumentor-signature__name">$excludeFromConnect</span>
  672. </code>
  673. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  674. Tags
  675. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect#tags" class="headerlink"><i class="fas fa-link"></i></a>
  676. </h5>
  677. <dl class="phpdocumentor-tag-list">
  678. <dt class="phpdocumentor-tag-list__entry">
  679. <span class="phpdocumentor-tag__name">see</span>
  680. </dt>
  681. <dd class="phpdocumentor-tag-list__definition">
  682. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$excludeFromConnect">QROptions::$excludeFromConnect</abbr></span>
  683. </dd>
  684. </dl>
  685. </article>
  686. <article
  687. class="
  688. phpdocumentor-element
  689. -property
  690. -protected
  691. "
  692. >
  693. <h4 class="phpdocumentor-element__name" id="property_keepAsSquare">
  694. $keepAsSquare
  695. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare" class="headerlink"><i class="fas fa-link"></i></a>
  696. <span class="phpdocumentor-element__modifiers">
  697. </span>
  698. </h4>
  699. <aside class="phpdocumentor-element-found-in">
  700. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  701. :
  702. <span class="phpdocumentor-element-found-in__line">66</span>
  703. </aside>
  704. <code class="phpdocumentor-code phpdocumentor-signature ">
  705. <span class="phpdocumentor-signature__visibility">protected</span>
  706. <span class="phpdocumentor-signature__type">array&lt;string|int, int&gt;</span>
  707. <span class="phpdocumentor-signature__name">$keepAsSquare</span>
  708. </code>
  709. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  710. Tags
  711. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare#tags" class="headerlink"><i class="fas fa-link"></i></a>
  712. </h5>
  713. <dl class="phpdocumentor-tag-list">
  714. <dt class="phpdocumentor-tag-list__entry">
  715. <span class="phpdocumentor-tag__name">see</span>
  716. </dt>
  717. <dd class="phpdocumentor-tag-list__definition">
  718. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$keepAsSquare">QROptions::$keepAsSquare</abbr></span>
  719. </dd>
  720. </dl>
  721. </article>
  722. <article
  723. class="
  724. phpdocumentor-element
  725. -property
  726. -protected
  727. "
  728. >
  729. <h4 class="phpdocumentor-element__name" id="property_length">
  730. $length
  731. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length" class="headerlink"><i class="fas fa-link"></i></a>
  732. <span class="phpdocumentor-element__modifiers">
  733. </span>
  734. </h4>
  735. <aside class="phpdocumentor-element-found-in">
  736. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  737. :
  738. <span class="phpdocumentor-element-found-in__line">38</span>
  739. </aside>
  740. <p class="phpdocumentor-summary">the side length of the QR image (modules * scale)</p>
  741. <code class="phpdocumentor-code phpdocumentor-signature ">
  742. <span class="phpdocumentor-signature__visibility">protected</span>
  743. <span class="phpdocumentor-signature__type">int</span>
  744. <span class="phpdocumentor-signature__name">$length</span>
  745. </code>
  746. </article>
  747. <article
  748. class="
  749. phpdocumentor-element
  750. -property
  751. -protected
  752. "
  753. >
  754. <h4 class="phpdocumentor-element__name" id="property_matrix">
  755. $matrix
  756. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  757. <span class="phpdocumentor-element__modifiers">
  758. </span>
  759. </h4>
  760. <aside class="phpdocumentor-element-found-in">
  761. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  762. :
  763. <span class="phpdocumentor-element-found-in__line">50</span>
  764. </aside>
  765. <p class="phpdocumentor-summary">the (filled) data matrix object</p>
  766. <code class="phpdocumentor-code phpdocumentor-signature ">
  767. <span class="phpdocumentor-signature__visibility">protected</span>
  768. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  769. <span class="phpdocumentor-signature__name">$matrix</span>
  770. </code>
  771. </article>
  772. <article
  773. class="
  774. phpdocumentor-element
  775. -property
  776. -protected
  777. "
  778. >
  779. <h4 class="phpdocumentor-element__name" id="property_moduleCount">
  780. $moduleCount
  781. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount" class="headerlink"><i class="fas fa-link"></i></a>
  782. <span class="phpdocumentor-element__modifiers">
  783. </span>
  784. </h4>
  785. <aside class="phpdocumentor-element-found-in">
  786. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  787. :
  788. <span class="phpdocumentor-element-found-in__line">33</span>
  789. </aside>
  790. <p class="phpdocumentor-summary">the current size of the QR matrix</p>
  791. <code class="phpdocumentor-code phpdocumentor-signature ">
  792. <span class="phpdocumentor-signature__visibility">protected</span>
  793. <span class="phpdocumentor-signature__type">int</span>
  794. <span class="phpdocumentor-signature__name">$moduleCount</span>
  795. </code>
  796. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  797. Tags
  798. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount#tags" class="headerlink"><i class="fas fa-link"></i></a>
  799. </h5>
  800. <dl class="phpdocumentor-tag-list">
  801. <dt class="phpdocumentor-tag-list__entry">
  802. <span class="phpdocumentor-tag__name">see</span>
  803. </dt>
  804. <dd class="phpdocumentor-tag-list__definition">
  805. <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>
  806. </dd>
  807. </dl>
  808. </article>
  809. <article
  810. class="
  811. phpdocumentor-element
  812. -property
  813. -protected
  814. "
  815. >
  816. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  817. $moduleValues
  818. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  819. <span class="phpdocumentor-element__modifiers">
  820. </span>
  821. </h4>
  822. <aside class="phpdocumentor-element-found-in">
  823. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  824. :
  825. <span class="phpdocumentor-element-found-in__line">45</span>
  826. </aside>
  827. <p class="phpdocumentor-summary">an (optional) array of color values for the several QR matrix parts</p>
  828. <code class="phpdocumentor-code phpdocumentor-signature ">
  829. <span class="phpdocumentor-signature__visibility">protected</span>
  830. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  831. <span class="phpdocumentor-signature__name">$moduleValues</span>
  832. </code>
  833. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  834. Tags
  835. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues#tags" class="headerlink"><i class="fas fa-link"></i></a>
  836. </h5>
  837. <dl class="phpdocumentor-tag-list">
  838. <dt class="phpdocumentor-tag-list__entry">
  839. <span class="phpdocumentor-tag__name">phpstan-var</span>
  840. </dt>
  841. <dd class="phpdocumentor-tag-list__definition">
  842. <section class="phpdocumentor-description"><p>array&lt;int, mixed&gt;</p>
  843. </section>
  844. </dd>
  845. </dl>
  846. </article>
  847. <article
  848. class="
  849. phpdocumentor-element
  850. -property
  851. -protected
  852. "
  853. >
  854. <h4 class="phpdocumentor-element__name" id="property_options">
  855. $options
  856. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  857. <span class="phpdocumentor-element__modifiers">
  858. </span>
  859. </h4>
  860. <aside class="phpdocumentor-element-found-in">
  861. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  862. :
  863. <span class="phpdocumentor-element-found-in__line">55</span>
  864. </aside>
  865. <p class="phpdocumentor-summary">the options instance</p>
  866. <code class="phpdocumentor-code phpdocumentor-signature ">
  867. <span class="phpdocumentor-signature__visibility">protected</span>
  868. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  869. <span class="phpdocumentor-signature__name">$options</span>
  870. </code>
  871. </article>
  872. <article
  873. class="
  874. phpdocumentor-element
  875. -property
  876. -protected
  877. "
  878. >
  879. <h4 class="phpdocumentor-element__name" id="property_scale">
  880. $scale
  881. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  882. <span class="phpdocumentor-element__modifiers">
  883. </span>
  884. </h4>
  885. <aside class="phpdocumentor-element-found-in">
  886. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  887. :
  888. <span class="phpdocumentor-element-found-in__line">68</span>
  889. </aside>
  890. <code class="phpdocumentor-code phpdocumentor-signature ">
  891. <span class="phpdocumentor-signature__visibility">protected</span>
  892. <span class="phpdocumentor-signature__type">int</span>
  893. <span class="phpdocumentor-signature__name">$scale</span>
  894. </code>
  895. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  896. Tags
  897. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale#tags" class="headerlink"><i class="fas fa-link"></i></a>
  898. </h5>
  899. <dl class="phpdocumentor-tag-list">
  900. <dt class="phpdocumentor-tag-list__entry">
  901. <span class="phpdocumentor-tag__name">see</span>
  902. </dt>
  903. <dd class="phpdocumentor-tag-list__definition">
  904. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$scale">QROptions::$scale</abbr></span>
  905. </dd>
  906. </dl>
  907. </article>
  908. </section>
  909. <section class="phpdocumentor-methods">
  910. <h3 class="phpdocumentor-elements__header" id="methods">
  911. Methods
  912. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  913. </h3>
  914. <article
  915. class="phpdocumentor-element
  916. -method
  917. -public
  918. "
  919. >
  920. <h4 class="phpdocumentor-element__name" id="method___construct">
  921. __construct()
  922. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  923. </h4>
  924. <aside class="phpdocumentor-element-found-in">
  925. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  926. :
  927. <span class="phpdocumentor-element-found-in__line">84</span>
  928. </aside>
  929. <p class="phpdocumentor-summary">QROutputAbstract constructor.</p>
  930. <code class="phpdocumentor-code phpdocumentor-signature ">
  931. <span class="phpdocumentor-signature__visibility">public</span>
  932. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  933. <div class="phpdocumentor-label-line">
  934. </div>
  935. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  936. <dl class="phpdocumentor-argument-list">
  937. <dt class="phpdocumentor-argument-list__entry">
  938. <span class="phpdocumentor-signature__argument__name">$options</span>
  939. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  940. </dt>
  941. <dd class="phpdocumentor-argument-list__definition">
  942. </dd>
  943. <dt class="phpdocumentor-argument-list__entry">
  944. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  945. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  946. </dt>
  947. <dd class="phpdocumentor-argument-list__definition">
  948. </dd>
  949. </dl>
  950. </article>
  951. <article
  952. class="phpdocumentor-element
  953. -method
  954. -public
  955. "
  956. >
  957. <h4 class="phpdocumentor-element__name" id="method_dump">
  958. dump()
  959. <a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump" class="headerlink"><i class="fas fa-link"></i></a>
  960. </h4>
  961. <aside class="phpdocumentor-element-found-in">
  962. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkup.php"><a href="files/src-output-qrmarkup.html"><abbr title="src/Output/QRMarkup.php">QRMarkup.php</abbr></a></abbr>
  963. :
  964. <span class="phpdocumentor-element-found-in__line">20</span>
  965. </aside>
  966. <p class="phpdocumentor-summary">Generates the output, optionally dumps it to a file, and returns it</p>
  967. <code class="phpdocumentor-code phpdocumentor-signature ">
  968. <span class="phpdocumentor-signature__visibility">public</span>
  969. <span class="phpdocumentor-signature__name">dump</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</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">string</span></code>
  970. <div class="phpdocumentor-label-line">
  971. </div>
  972. <section class="phpdocumentor-description"><p>please note that the value of QROptions::$cachefile is already evaluated at this point.
  973. if the output module is invoked manually, it has no effect at all.
  974. you need to supply the $file parameter here in that case (or handle the option value in your custom output module).</p>
  975. </section>
  976. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  977. <dl class="phpdocumentor-argument-list">
  978. <dt class="phpdocumentor-argument-list__entry">
  979. <span class="phpdocumentor-signature__argument__name">$file</span>
  980. : <span class="phpdocumentor-signature__argument__return-type">string|null</span>
  981. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  982. <dd class="phpdocumentor-argument-list__definition">
  983. </dd>
  984. </dl>
  985. <section>
  986. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  987. <span class="phpdocumentor-signature__response_type">string</span>
  988. </section>
  989. </article>
  990. <article
  991. class="phpdocumentor-element
  992. -method
  993. -public
  994. -static "
  995. >
  996. <h4 class="phpdocumentor-element__name" id="method_moduleValueIsValid">
  997. moduleValueIsValid()
  998. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid" class="headerlink"><i class="fas fa-link"></i></a>
  999. </h4>
  1000. <aside class="phpdocumentor-element-found-in">
  1001. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1002. :
  1003. <span class="phpdocumentor-element-found-in__line">37</span>
  1004. </aside>
  1005. <p class="phpdocumentor-summary">Determines whether the given value is valid</p>
  1006. <code class="phpdocumentor-code phpdocumentor-signature ">
  1007. <span class="phpdocumentor-signature__visibility">public</span>
  1008. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">moduleValueIsValid</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  1009. <div class="phpdocumentor-label-line">
  1010. </div>
  1011. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1012. <dl class="phpdocumentor-argument-list">
  1013. <dt class="phpdocumentor-argument-list__entry">
  1014. <span class="phpdocumentor-signature__argument__name">$value</span>
  1015. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  1016. </dt>
  1017. <dd class="phpdocumentor-argument-list__definition">
  1018. </dd>
  1019. </dl>
  1020. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1021. Tags
  1022. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1023. </h5>
  1024. <dl class="phpdocumentor-tag-list">
  1025. <dt class="phpdocumentor-tag-list__entry">
  1026. <span class="phpdocumentor-tag__name">todo:</span>
  1027. </dt>
  1028. <dd class="phpdocumentor-tag-list__definition">
  1029. <section class="phpdocumentor-description"><p>XSS proof</p>
  1030. </section>
  1031. </dd>
  1032. <dt class="phpdocumentor-tag-list__entry">
  1033. <span class="phpdocumentor-tag__name">see</span>
  1034. </dt>
  1035. <dd class="phpdocumentor-tag-list__definition">
  1036. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill</a></span>
  1037. </dd>
  1038. <dt class="phpdocumentor-tag-list__entry">
  1039. <span class="phpdocumentor-tag__name">inheritDoc</span>
  1040. </dt>
  1041. <dd class="phpdocumentor-tag-list__definition">
  1042. </dd>
  1043. </dl>
  1044. <section>
  1045. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1046. <span class="phpdocumentor-signature__response_type">bool</span>
  1047. </section>
  1048. </article>
  1049. <article
  1050. class="phpdocumentor-element
  1051. -method
  1052. -protected
  1053. "
  1054. >
  1055. <h4 class="phpdocumentor-element__name" id="method_collectModules">
  1056. collectModules()
  1057. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules" class="headerlink"><i class="fas fa-link"></i></a>
  1058. </h4>
  1059. <aside class="phpdocumentor-element-found-in">
  1060. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1061. :
  1062. <span class="phpdocumentor-element-found-in__line">267</span>
  1063. </aside>
  1064. <p class="phpdocumentor-summary">collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
  1065. returns an array with the transformed modules</p>
  1066. <code class="phpdocumentor-code phpdocumentor-signature ">
  1067. <span class="phpdocumentor-signature__visibility">protected</span>
  1068. <span class="phpdocumentor-signature__name">collectModules</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$transform</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;int, mixed&gt;</span></code>
  1069. <div class="phpdocumentor-label-line">
  1070. </div>
  1071. <section class="phpdocumentor-description"><p>The transform callback is called with the following parameters:</p>
  1072. <p>$x - current column
  1073. $y - current row
  1074. $M_TYPE - field value
  1075. $M_TYPE_LAYER - (possibly modified) field value that acts as layer id</p>
  1076. </section>
  1077. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1078. <dl class="phpdocumentor-argument-list">
  1079. <dt class="phpdocumentor-argument-list__entry">
  1080. <span class="phpdocumentor-signature__argument__name">$transform</span>
  1081. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
  1082. </dt>
  1083. <dd class="phpdocumentor-argument-list__definition">
  1084. </dd>
  1085. </dl>
  1086. <section>
  1087. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1088. <span class="phpdocumentor-signature__response_type">array&lt;int, mixed&gt;</span>
  1089. </section>
  1090. </article>
  1091. <article
  1092. class="phpdocumentor-element
  1093. -method
  1094. -protected
  1095. "
  1096. >
  1097. <h4 class="phpdocumentor-element__name" id="method_copyVars">
  1098. copyVars()
  1099. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars" class="headerlink"><i class="fas fa-link"></i></a>
  1100. </h4>
  1101. <aside class="phpdocumentor-element-found-in">
  1102. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1103. :
  1104. <span class="phpdocumentor-element-found-in__line">103</span>
  1105. </aside>
  1106. <p class="phpdocumentor-summary">Creates copies of several QROptions values to avoid calling the magic getters
  1107. in long loops for a significant performance increase.</p>
  1108. <code class="phpdocumentor-code phpdocumentor-signature ">
  1109. <span class="phpdocumentor-signature__visibility">protected</span>
  1110. <span class="phpdocumentor-signature__name">copyVars</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1111. <div class="phpdocumentor-label-line">
  1112. </div>
  1113. <section class="phpdocumentor-description"><p>These variables are usually used in the &quot;module&quot; methods and are called up to 31329 times (at version 40).</p>
  1114. </section>
  1115. </article>
  1116. <article
  1117. class="phpdocumentor-element
  1118. -method
  1119. -protected
  1120. "
  1121. >
  1122. <h4 class="phpdocumentor-element__name" id="method_createMarkup">
  1123. createMarkup()
  1124. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup" class="headerlink"><i class="fas fa-link"></i></a>
  1125. </h4>
  1126. <aside class="phpdocumentor-element-found-in">
  1127. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1128. :
  1129. <span class="phpdocumentor-element-found-in__line">66</span>
  1130. </aside>
  1131. <p class="phpdocumentor-summary">returns the fully parsed and rendered markup string for the given input</p>
  1132. <code class="phpdocumentor-code phpdocumentor-signature ">
  1133. <span class="phpdocumentor-signature__visibility">protected</span>
  1134. <span class="phpdocumentor-signature__name">createMarkup</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$saveToFile</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1135. <div class="phpdocumentor-label-line">
  1136. </div>
  1137. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1138. <dl class="phpdocumentor-argument-list">
  1139. <dt class="phpdocumentor-argument-list__entry">
  1140. <span class="phpdocumentor-signature__argument__name">$saveToFile</span>
  1141. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1142. </dt>
  1143. <dd class="phpdocumentor-argument-list__definition">
  1144. </dd>
  1145. </dl>
  1146. <section>
  1147. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1148. <span class="phpdocumentor-signature__response_type">string</span>
  1149. </section>
  1150. </article>
  1151. <article
  1152. class="phpdocumentor-element
  1153. -method
  1154. -protected
  1155. "
  1156. >
  1157. <h4 class="phpdocumentor-element__name" id="method_getCssClass">
  1158. getCssClass()
  1159. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass" class="headerlink"><i class="fas fa-link"></i></a>
  1160. </h4>
  1161. <aside class="phpdocumentor-element-found-in">
  1162. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1163. :
  1164. <span class="phpdocumentor-element-found-in__line">58</span>
  1165. </aside>
  1166. <p class="phpdocumentor-summary">returns a string with all css classes for the current element</p>
  1167. <code class="phpdocumentor-code phpdocumentor-signature ">
  1168. <span class="phpdocumentor-signature__visibility">protected</span>
  1169. <span class="phpdocumentor-signature__name">getCssClass</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">$M_TYPE</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1170. <div class="phpdocumentor-label-line">
  1171. </div>
  1172. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1173. <dl class="phpdocumentor-argument-list">
  1174. <dt class="phpdocumentor-argument-list__entry">
  1175. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1176. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1177. = <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
  1178. <dd class="phpdocumentor-argument-list__definition">
  1179. </dd>
  1180. </dl>
  1181. <section>
  1182. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1183. <span class="phpdocumentor-signature__response_type">string</span>
  1184. </section>
  1185. </article>
  1186. <article
  1187. class="phpdocumentor-element
  1188. -method
  1189. -protected
  1190. "
  1191. >
  1192. <h4 class="phpdocumentor-element__name" id="method_getDefaultModuleValue">
  1193. getDefaultModuleValue()
  1194. <a href="classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_getDefaultModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1195. </h4>
  1196. <aside class="phpdocumentor-element-found-in">
  1197. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/CssColorModuleValueTrait.php"><a href="files/src-output-csscolormodulevaluetrait.html"><abbr title="src/Output/CssColorModuleValueTrait.php">CssColorModuleValueTrait.php</abbr></a></abbr>
  1198. :
  1199. <span class="phpdocumentor-element-found-in__line">73</span>
  1200. </aside>
  1201. <p class="phpdocumentor-summary">implements \chillerlan\QRCode\Output\QROutputAbstract::getDefaultModuleValue()</p>
  1202. <code class="phpdocumentor-code phpdocumentor-signature ">
  1203. <span class="phpdocumentor-signature__visibility">protected</span>
  1204. <span class="phpdocumentor-signature__name">getDefaultModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$isDark</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1205. <div class="phpdocumentor-label-line">
  1206. </div>
  1207. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1208. <dl class="phpdocumentor-argument-list">
  1209. <dt class="phpdocumentor-argument-list__entry">
  1210. <span class="phpdocumentor-signature__argument__name">$isDark</span>
  1211. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1212. </dt>
  1213. <dd class="phpdocumentor-argument-list__definition">
  1214. </dd>
  1215. </dl>
  1216. <section>
  1217. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1218. <span class="phpdocumentor-signature__response_type">string</span>
  1219. </section>
  1220. </article>
  1221. <article
  1222. class="phpdocumentor-element
  1223. -method
  1224. -protected
  1225. "
  1226. >
  1227. <h4 class="phpdocumentor-element__name" id="method_getModuleValue">
  1228. getModuleValue()
  1229. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1230. </h4>
  1231. <aside class="phpdocumentor-element-found-in">
  1232. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1233. :
  1234. <span class="phpdocumentor-element-found-in__line">179</span>
  1235. </aside>
  1236. <p class="phpdocumentor-summary">Returns the prepared value for the given $M_TYPE</p>
  1237. <code class="phpdocumentor-code phpdocumentor-signature ">
  1238. <span class="phpdocumentor-signature__visibility">protected</span>
  1239. <span class="phpdocumentor-signature__name">getModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><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">mixed</span></code>
  1240. <div class="phpdocumentor-label-line">
  1241. </div>
  1242. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1243. <dl class="phpdocumentor-argument-list">
  1244. <dt class="phpdocumentor-argument-list__entry">
  1245. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1246. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1247. </dt>
  1248. <dd class="phpdocumentor-argument-list__definition">
  1249. </dd>
  1250. </dl>
  1251. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1252. Tags
  1253. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1254. </h5>
  1255. <dl class="phpdocumentor-tag-list">
  1256. <dt class="phpdocumentor-tag-list__entry">
  1257. <span class="phpdocumentor-tag__name">throws</span>
  1258. </dt>
  1259. <dd class="phpdocumentor-tag-list__definition">
  1260. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1261. <section class="phpdocumentor-description"><p>if $moduleValues[$M_TYPE] doesn't exist</p>
  1262. </section>
  1263. </dd>
  1264. </dl>
  1265. </article>
  1266. <article
  1267. class="phpdocumentor-element
  1268. -method
  1269. -protected
  1270. "
  1271. >
  1272. <h4 class="phpdocumentor-element__name" id="method_getModuleValueAt">
  1273. getModuleValueAt()
  1274. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt" class="headerlink"><i class="fas fa-link"></i></a>
  1275. </h4>
  1276. <aside class="phpdocumentor-element-found-in">
  1277. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1278. :
  1279. <span class="phpdocumentor-element-found-in__line">191</span>
  1280. </aside>
  1281. <p class="phpdocumentor-summary">Returns the prepared module value at the given coordinate [$x, $y] (convenience)</p>
  1282. <code class="phpdocumentor-code phpdocumentor-signature ">
  1283. <span class="phpdocumentor-signature__visibility">protected</span>
  1284. <span class="phpdocumentor-signature__name">getModuleValueAt</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">mixed</span></code>
  1285. <div class="phpdocumentor-label-line">
  1286. </div>
  1287. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1288. <dl class="phpdocumentor-argument-list">
  1289. <dt class="phpdocumentor-argument-list__entry">
  1290. <span class="phpdocumentor-signature__argument__name">$x</span>
  1291. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1292. </dt>
  1293. <dd class="phpdocumentor-argument-list__definition">
  1294. </dd>
  1295. <dt class="phpdocumentor-argument-list__entry">
  1296. <span class="phpdocumentor-signature__argument__name">$y</span>
  1297. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1298. </dt>
  1299. <dd class="phpdocumentor-argument-list__definition">
  1300. </dd>
  1301. </dl>
  1302. </article>
  1303. <article
  1304. class="phpdocumentor-element
  1305. -method
  1306. -protected
  1307. "
  1308. >
  1309. <h4 class="phpdocumentor-element__name" id="method_getOutputDimensions">
  1310. getOutputDimensions()
  1311. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions" class="headerlink"><i class="fas fa-link"></i></a>
  1312. </h4>
  1313. <aside class="phpdocumentor-element-found-in">
  1314. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1315. :
  1316. <span class="phpdocumentor-element-found-in__line">54</span>
  1317. </aside>
  1318. <p class="phpdocumentor-summary">Returns a 2 element array with the current output width and height</p>
  1319. <code class="phpdocumentor-code phpdocumentor-signature ">
  1320. <span class="phpdocumentor-signature__visibility">protected</span>
  1321. <span class="phpdocumentor-signature__name">getOutputDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, int&gt;</span></code>
  1322. <div class="phpdocumentor-label-line">
  1323. </div>
  1324. <section class="phpdocumentor-description"><p>The type and units of the values depend on the output class. The default value is the current module count * scale.</p>
  1325. </section>
  1326. <section>
  1327. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1328. <span class="phpdocumentor-signature__response_type">array&lt;string|int, int&gt;</span>
  1329. </section>
  1330. </article>
  1331. <article
  1332. class="phpdocumentor-element
  1333. -method
  1334. -protected
  1335. "
  1336. >
  1337. <h4 class="phpdocumentor-element__name" id="method_getViewBox">
  1338. getViewBox()
  1339. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox" 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/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1343. :
  1344. <span class="phpdocumentor-element-found-in__line">87</span>
  1345. </aside>
  1346. <p class="phpdocumentor-summary">returns the value for the SVG viewBox attribute</p>
  1347. <code class="phpdocumentor-code phpdocumentor-signature ">
  1348. <span class="phpdocumentor-signature__visibility">protected</span>
  1349. <span class="phpdocumentor-signature__name">getViewBox</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1350. <div class="phpdocumentor-label-line">
  1351. </div>
  1352. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1353. Tags
  1354. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1355. </h5>
  1356. <dl class="phpdocumentor-tag-list">
  1357. <dt class="phpdocumentor-tag-list__entry">
  1358. <span class="phpdocumentor-tag__name">see</span>
  1359. </dt>
  1360. <dd class="phpdocumentor-tag-list__definition">
  1361. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox</a></span>
  1362. </dd>
  1363. <dt class="phpdocumentor-tag-list__entry">
  1364. <span class="phpdocumentor-tag__name">see</span>
  1365. </dt>
  1366. <dd class="phpdocumentor-tag-list__definition">
  1367. <span class="phpdocumentor-tag-link"><a href="https://css-tricks.com/scale-svg/#article-header-id-3">https://css-tricks.com/scale-svg/#article-header-id-3</a></span>
  1368. </dd>
  1369. </dl>
  1370. <section>
  1371. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1372. <span class="phpdocumentor-signature__response_type">string</span>
  1373. </section>
  1374. </article>
  1375. <article
  1376. class="phpdocumentor-element
  1377. -method
  1378. -protected
  1379. "
  1380. >
  1381. <h4 class="phpdocumentor-element__name" id="method_guessMimeType">
  1382. guessMimeType()
  1383. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_guessMimeType" class="headerlink"><i class="fas fa-link"></i></a>
  1384. </h4>
  1385. <aside class="phpdocumentor-element-found-in">
  1386. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1387. :
  1388. <span class="phpdocumentor-element-found-in__line">216</span>
  1389. </aside>
  1390. <p class="phpdocumentor-summary">Guesses the mime type from the given $imageData</p>
  1391. <code class="phpdocumentor-code phpdocumentor-signature ">
  1392. <span class="phpdocumentor-signature__visibility">protected</span>
  1393. <span class="phpdocumentor-signature__name">guessMimeType</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$imageData</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1394. <div class="phpdocumentor-label-line">
  1395. </div>
  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">$imageData</span>
  1400. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1401. </dt>
  1402. <dd class="phpdocumentor-argument-list__definition">
  1403. </dd>
  1404. </dl>
  1405. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1406. Tags
  1407. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_guessMimeType#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1408. </h5>
  1409. <dl class="phpdocumentor-tag-list">
  1410. <dt class="phpdocumentor-tag-list__entry">
  1411. <span class="phpdocumentor-tag__name">throws</span>
  1412. </dt>
  1413. <dd class="phpdocumentor-tag-list__definition">
  1414. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1415. </dd>
  1416. </dl>
  1417. <section>
  1418. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1419. <span class="phpdocumentor-signature__response_type">string</span>
  1420. </section>
  1421. </article>
  1422. <article
  1423. class="phpdocumentor-element
  1424. -method
  1425. -protected
  1426. "
  1427. >
  1428. <h4 class="phpdocumentor-element__name" id="method_header">
  1429. header()
  1430. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header" class="headerlink"><i class="fas fa-link"></i></a>
  1431. </h4>
  1432. <aside class="phpdocumentor-element-found-in">
  1433. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1434. :
  1435. <span class="phpdocumentor-element-found-in__line">98</span>
  1436. </aside>
  1437. <p class="phpdocumentor-summary">returns the &lt;svg&gt; header with the given options parsed</p>
  1438. <code class="phpdocumentor-code phpdocumentor-signature ">
  1439. <span class="phpdocumentor-signature__visibility">protected</span>
  1440. <span class="phpdocumentor-signature__name">header</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1441. <div class="phpdocumentor-label-line">
  1442. </div>
  1443. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1444. Tags
  1445. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1446. </h5>
  1447. <dl class="phpdocumentor-tag-list">
  1448. <dt class="phpdocumentor-tag-list__entry">
  1449. <span class="phpdocumentor-tag__name">see</span>
  1450. </dt>
  1451. <dd class="phpdocumentor-tag-list__definition">
  1452. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg">https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg</a></span>
  1453. </dd>
  1454. </dl>
  1455. <section>
  1456. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1457. <span class="phpdocumentor-signature__response_type">string</span>
  1458. </section>
  1459. </article>
  1460. <article
  1461. class="phpdocumentor-element
  1462. -method
  1463. -protected
  1464. "
  1465. >
  1466. <h4 class="phpdocumentor-element__name" id="method_module">
  1467. module()
  1468. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module" class="headerlink"><i class="fas fa-link"></i></a>
  1469. </h4>
  1470. <aside class="phpdocumentor-element-found-in">
  1471. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1472. :
  1473. <span class="phpdocumentor-element-found-in__line">168</span>
  1474. </aside>
  1475. <p class="phpdocumentor-summary">returns a path segment for a single module</p>
  1476. <code class="phpdocumentor-code phpdocumentor-signature ">
  1477. <span class="phpdocumentor-signature__visibility">protected</span>
  1478. <span class="phpdocumentor-signature__name">module</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">string</span></code>
  1479. <div class="phpdocumentor-label-line">
  1480. </div>
  1481. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1482. <dl class="phpdocumentor-argument-list">
  1483. <dt class="phpdocumentor-argument-list__entry">
  1484. <span class="phpdocumentor-signature__argument__name">$x</span>
  1485. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1486. </dt>
  1487. <dd class="phpdocumentor-argument-list__definition">
  1488. </dd>
  1489. <dt class="phpdocumentor-argument-list__entry">
  1490. <span class="phpdocumentor-signature__argument__name">$y</span>
  1491. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1492. </dt>
  1493. <dd class="phpdocumentor-argument-list__definition">
  1494. </dd>
  1495. <dt class="phpdocumentor-argument-list__entry">
  1496. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1497. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1498. </dt>
  1499. <dd class="phpdocumentor-argument-list__definition">
  1500. </dd>
  1501. </dl>
  1502. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1503. Tags
  1504. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1505. </h5>
  1506. <dl class="phpdocumentor-tag-list">
  1507. <dt class="phpdocumentor-tag-list__entry">
  1508. <span class="phpdocumentor-tag__name">see</span>
  1509. </dt>
  1510. <dd class="phpdocumentor-tag-list__definition">
  1511. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d</a></span>
  1512. </dd>
  1513. </dl>
  1514. <section>
  1515. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1516. <span class="phpdocumentor-signature__response_type">string</span>
  1517. </section>
  1518. </article>
  1519. <article
  1520. class="phpdocumentor-element
  1521. -method
  1522. -protected
  1523. "
  1524. >
  1525. <h4 class="phpdocumentor-element__name" id="method_path">
  1526. path()
  1527. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path" class="headerlink"><i class="fas fa-link"></i></a>
  1528. </h4>
  1529. <aside class="phpdocumentor-element-found-in">
  1530. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1531. :
  1532. <span class="phpdocumentor-element-found-in__line">149</span>
  1533. </aside>
  1534. <p class="phpdocumentor-summary">renders and returns a single &lt;path&gt; element</p>
  1535. <code class="phpdocumentor-code phpdocumentor-signature ">
  1536. <span class="phpdocumentor-signature__visibility">protected</span>
  1537. <span class="phpdocumentor-signature__name">path</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</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">string</span></code>
  1538. <div class="phpdocumentor-label-line">
  1539. </div>
  1540. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1541. <dl class="phpdocumentor-argument-list">
  1542. <dt class="phpdocumentor-argument-list__entry">
  1543. <span class="phpdocumentor-signature__argument__name">$path</span>
  1544. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1545. </dt>
  1546. <dd class="phpdocumentor-argument-list__definition">
  1547. </dd>
  1548. <dt class="phpdocumentor-argument-list__entry">
  1549. <span class="phpdocumentor-signature__argument__name">$M_TYPE</span>
  1550. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1551. </dt>
  1552. <dd class="phpdocumentor-argument-list__definition">
  1553. </dd>
  1554. </dl>
  1555. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1556. Tags
  1557. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1558. </h5>
  1559. <dl class="phpdocumentor-tag-list">
  1560. <dt class="phpdocumentor-tag-list__entry">
  1561. <span class="phpdocumentor-tag__name">see</span>
  1562. </dt>
  1563. <dd class="phpdocumentor-tag-list__definition">
  1564. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path">https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path</a></span>
  1565. </dd>
  1566. </dl>
  1567. <section>
  1568. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1569. <span class="phpdocumentor-signature__response_type">string</span>
  1570. </section>
  1571. </article>
  1572. <article
  1573. class="phpdocumentor-element
  1574. -method
  1575. -protected
  1576. "
  1577. >
  1578. <h4 class="phpdocumentor-element__name" id="method_paths">
  1579. paths()
  1580. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_paths" class="headerlink"><i class="fas fa-link"></i></a>
  1581. </h4>
  1582. <aside class="phpdocumentor-element-found-in">
  1583. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QRMarkupSVG.php"><a href="files/src-output-qrmarkupsvg.html"><abbr title="src/Output/QRMarkupSVG.php">QRMarkupSVG.php</abbr></a></abbr>
  1584. :
  1585. <span class="phpdocumentor-element-found-in__line">118</span>
  1586. </aside>
  1587. <p class="phpdocumentor-summary">returns one or more SVG &lt;path&gt; elements</p>
  1588. <code class="phpdocumentor-code phpdocumentor-signature ">
  1589. <span class="phpdocumentor-signature__visibility">protected</span>
  1590. <span class="phpdocumentor-signature__name">paths</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1591. <div class="phpdocumentor-label-line">
  1592. </div>
  1593. <section>
  1594. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1595. <span class="phpdocumentor-signature__response_type">string</span>
  1596. </section>
  1597. </article>
  1598. <article
  1599. class="phpdocumentor-element
  1600. -method
  1601. -protected
  1602. "
  1603. >
  1604. <h4 class="phpdocumentor-element__name" id="method_prepareModuleValue">
  1605. prepareModuleValue()
  1606. <a href="classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_prepareModuleValue" class="headerlink"><i class="fas fa-link"></i></a>
  1607. </h4>
  1608. <aside class="phpdocumentor-element-found-in">
  1609. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/CssColorModuleValueTrait.php"><a href="files/src-output-csscolormodulevaluetrait.html"><abbr title="src/Output/CssColorModuleValueTrait.php">CssColorModuleValueTrait.php</abbr></a></abbr>
  1610. :
  1611. <span class="phpdocumentor-element-found-in__line">66</span>
  1612. </aside>
  1613. <p class="phpdocumentor-summary">implements \chillerlan\QRCode\Output\QROutputAbstract::prepareModuleValue()</p>
  1614. <code class="phpdocumentor-code phpdocumentor-signature ">
  1615. <span class="phpdocumentor-signature__visibility">protected</span>
  1616. <span class="phpdocumentor-signature__name">prepareModuleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  1617. <div class="phpdocumentor-label-line">
  1618. </div>
  1619. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1620. <dl class="phpdocumentor-argument-list">
  1621. <dt class="phpdocumentor-argument-list__entry">
  1622. <span class="phpdocumentor-signature__argument__name">$value</span>
  1623. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1624. </dt>
  1625. <dd class="phpdocumentor-argument-list__definition">
  1626. </dd>
  1627. </dl>
  1628. <section>
  1629. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1630. <span class="phpdocumentor-signature__response_type">string</span>
  1631. </section>
  1632. </article>
  1633. <article
  1634. class="phpdocumentor-element
  1635. -method
  1636. -protected
  1637. "
  1638. >
  1639. <h4 class="phpdocumentor-element__name" id="method_saveToFile">
  1640. saveToFile()
  1641. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile" class="headerlink"><i class="fas fa-link"></i></a>
  1642. </h4>
  1643. <aside class="phpdocumentor-element-found-in">
  1644. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1645. :
  1646. <span class="phpdocumentor-element-found-in__line">239</span>
  1647. </aside>
  1648. <p class="phpdocumentor-summary">Saves the qr $data to a $file. If $file is null, nothing happens.</p>
  1649. <code class="phpdocumentor-code phpdocumentor-signature ">
  1650. <span class="phpdocumentor-signature__visibility">protected</span>
  1651. <span class="phpdocumentor-signature__name">saveToFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</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">void</span></code>
  1652. <div class="phpdocumentor-label-line">
  1653. </div>
  1654. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1655. <dl class="phpdocumentor-argument-list">
  1656. <dt class="phpdocumentor-argument-list__entry">
  1657. <span class="phpdocumentor-signature__argument__name">$data</span>
  1658. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1659. </dt>
  1660. <dd class="phpdocumentor-argument-list__definition">
  1661. </dd>
  1662. <dt class="phpdocumentor-argument-list__entry">
  1663. <span class="phpdocumentor-signature__argument__name">$file</span>
  1664. : <span class="phpdocumentor-signature__argument__return-type">string|null</span>
  1665. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1666. <dd class="phpdocumentor-argument-list__definition">
  1667. </dd>
  1668. </dl>
  1669. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1670. Tags
  1671. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1672. </h5>
  1673. <dl class="phpdocumentor-tag-list">
  1674. <dt class="phpdocumentor-tag-list__entry">
  1675. <span class="phpdocumentor-tag__name">see</span>
  1676. </dt>
  1677. <dd class="phpdocumentor-tag-list__definition">
  1678. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\Output\file_put_contents()">file_put_contents()</abbr></span>
  1679. </dd>
  1680. <dt class="phpdocumentor-tag-list__entry">
  1681. <span class="phpdocumentor-tag__name">see</span>
  1682. </dt>
  1683. <dd class="phpdocumentor-tag-list__definition">
  1684. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$cachefile">QROptions::$cachefile</abbr></span>
  1685. </dd>
  1686. <dt class="phpdocumentor-tag-list__entry">
  1687. <span class="phpdocumentor-tag__name">throws</span>
  1688. </dt>
  1689. <dd class="phpdocumentor-tag-list__definition">
  1690. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRCodeOutputException.html"><abbr title="\chillerlan\QRCode\Output\QRCodeOutputException">QRCodeOutputException</abbr></a></span>
  1691. </dd>
  1692. </dl>
  1693. </article>
  1694. <article
  1695. class="phpdocumentor-element
  1696. -method
  1697. -protected
  1698. "
  1699. >
  1700. <h4 class="phpdocumentor-element__name" id="method_setMatrixDimensions">
  1701. setMatrixDimensions()
  1702. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions" 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/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1706. :
  1707. <span class="phpdocumentor-element-found-in__line">127</span>
  1708. </aside>
  1709. <p class="phpdocumentor-summary">Sets/updates the matrix dimensions</p>
  1710. <code class="phpdocumentor-code phpdocumentor-signature ">
  1711. <span class="phpdocumentor-signature__visibility">protected</span>
  1712. <span class="phpdocumentor-signature__name">setMatrixDimensions</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1713. <div class="phpdocumentor-label-line">
  1714. </div>
  1715. <section class="phpdocumentor-description"><p>Call this method if you modify the matrix from within your custom module in case the dimensions have been changed</p>
  1716. </section>
  1717. </article>
  1718. <article
  1719. class="phpdocumentor-element
  1720. -method
  1721. -protected
  1722. "
  1723. >
  1724. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  1725. setModuleValues()
  1726. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  1727. </h4>
  1728. <aside class="phpdocumentor-element-found-in">
  1729. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1730. :
  1731. <span class="phpdocumentor-element-found-in__line">147</span>
  1732. </aside>
  1733. <p class="phpdocumentor-summary">Sets the initial module values</p>
  1734. <code class="phpdocumentor-code phpdocumentor-signature ">
  1735. <span class="phpdocumentor-signature__visibility">protected</span>
  1736. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1737. <div class="phpdocumentor-label-line">
  1738. </div>
  1739. </article>
  1740. <article
  1741. class="phpdocumentor-element
  1742. -method
  1743. -protected
  1744. "
  1745. >
  1746. <h4 class="phpdocumentor-element__name" id="method_toBase64DataURI">
  1747. toBase64DataURI()
  1748. <a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI" class="headerlink"><i class="fas fa-link"></i></a>
  1749. </h4>
  1750. <aside class="phpdocumentor-element-found-in">
  1751. <abbr class="phpdocumentor-element-found-in__file" title="src/Output/QROutputAbstract.php"><a href="files/src-output-qroutputabstract.html"><abbr title="src/Output/QROutputAbstract.php">QROutputAbstract.php</abbr></a></abbr>
  1752. :
  1753. <span class="phpdocumentor-element-found-in__line">201</span>
  1754. </aside>
  1755. <p class="phpdocumentor-summary">Returns a base64 data URI for the given string and mime type</p>
  1756. <code class="phpdocumentor-code phpdocumentor-signature ">
  1757. <span class="phpdocumentor-signature__visibility">protected</span>
  1758. <span class="phpdocumentor-signature__name">toBase64DataURI</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mime</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">string</span></code>
  1759. <div class="phpdocumentor-label-line">
  1760. </div>
  1761. <section class="phpdocumentor-description"><p>The mime type can be set via class constant MIME_TYPE in child classes,
  1762. or given via $mime, otherwise it is guessed from the image $data.</p>
  1763. </section>
  1764. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1765. <dl class="phpdocumentor-argument-list">
  1766. <dt class="phpdocumentor-argument-list__entry">
  1767. <span class="phpdocumentor-signature__argument__name">$data</span>
  1768. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1769. </dt>
  1770. <dd class="phpdocumentor-argument-list__definition">
  1771. </dd>
  1772. <dt class="phpdocumentor-argument-list__entry">
  1773. <span class="phpdocumentor-signature__argument__name">$mime</span>
  1774. : <span class="phpdocumentor-signature__argument__return-type">string|null</span>
  1775. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  1776. <dd class="phpdocumentor-argument-list__definition">
  1777. </dd>
  1778. </dl>
  1779. <section>
  1780. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1781. <span class="phpdocumentor-signature__response_type">string</span>
  1782. </section>
  1783. </article>
  1784. </section>
  1785. <div class="phpdocumentor-modal" id="source-view">
  1786. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1787. <div class="phpdocumentor-modal-container">
  1788. <div class="phpdocumentor-modal-content">
  1789. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Output/QRMarkupSVG.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1790. </div>
  1791. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1792. </div>
  1793. </div>
  1794. <script type="text/javascript">
  1795. (function () {
  1796. function loadExternalCodeSnippet(el, url, line) {
  1797. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1798. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1799. const language = 'php';
  1800. const code = document.createElement('code');
  1801. code.className = 'language-' + language;
  1802. pre.textContent = '';
  1803. pre.setAttribute('data-line', line)
  1804. code.textContent = 'Loading…';
  1805. pre.appendChild(code);
  1806. var xhr = new XMLHttpRequest();
  1807. xhr.open('GET', src, true);
  1808. xhr.onreadystatechange = function () {
  1809. if (xhr.readyState !== 4) {
  1810. return;
  1811. }
  1812. if (xhr.status < 400 && xhr.responseText) {
  1813. code.textContent = xhr.responseText;
  1814. Prism.highlightElement(code);
  1815. return;
  1816. }
  1817. if (xhr.status === 404) {
  1818. code.textContent = '✖ Error: File could not be found';
  1819. return;
  1820. }
  1821. if (xhr.status >= 400) {
  1822. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1823. return;
  1824. }
  1825. code.textContent = '✖ Error: An unknown error occurred';
  1826. };
  1827. xhr.send(null);
  1828. });
  1829. }
  1830. const modalButtons = document.querySelectorAll("[data-modal]");
  1831. const openedAsLocalFile = window.location.protocol === 'file:';
  1832. if (modalButtons.length > 0 && openedAsLocalFile) {
  1833. console.warn(
  1834. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1835. 'browsers block XHR requests when a page is opened this way'
  1836. );
  1837. }
  1838. modalButtons.forEach(function (trigger) {
  1839. if (openedAsLocalFile) {
  1840. trigger.setAttribute("hidden", "hidden");
  1841. }
  1842. trigger.addEventListener("click", function (event) {
  1843. event.preventDefault();
  1844. const modal = document.getElementById(trigger.dataset.modal);
  1845. if (!modal) {
  1846. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1847. return;
  1848. }
  1849. modal.classList.add("phpdocumentor-modal__open");
  1850. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1851. const exits = modal.querySelectorAll("[data-exit-button]");
  1852. exits.forEach(function (exit) {
  1853. exit.addEventListener("click", function (event) {
  1854. event.preventDefault();
  1855. modal.classList.remove("phpdocumentor-modal__open");
  1856. });
  1857. });
  1858. });
  1859. });
  1860. })();
  1861. </script>
  1862. </article>
  1863. </section>
  1864. <section class="phpdocumentor-on-this-page__sidebar">
  1865. <section class="phpdocumentor-on-this-page__content">
  1866. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1867. <ul class="phpdocumentor-list -clean">
  1868. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1869. <li>
  1870. <ul class="phpdocumentor-list -clean">
  1871. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-constants">Constants</a></li>
  1872. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-properties">Properties</a></li>
  1873. <li><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#toc-methods">Methods</a></li>
  1874. </ul>
  1875. </li>
  1876. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1877. <li>
  1878. <ul class="phpdocumentor-list -clean">
  1879. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#constant_MIME_TYPE">MIME_TYPE</a></li>
  1880. </ul>
  1881. </li>
  1882. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1883. <li>
  1884. <ul class="phpdocumentor-list -clean">
  1885. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleDiameter">$circleDiameter</a></li>
  1886. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_circleRadius">$circleRadius</a></li>
  1887. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_connectPaths">$connectPaths</a></li>
  1888. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawCircularModules">$drawCircularModules</a></li>
  1889. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_drawLightModules">$drawLightModules</a></li>
  1890. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_eol">$eol</a></li>
  1891. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_excludeFromConnect">$excludeFromConnect</a></li>
  1892. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_keepAsSquare">$keepAsSquare</a></li>
  1893. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_length">$length</a></li>
  1894. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_matrix">$matrix</a></li>
  1895. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleCount">$moduleCount</a></li>
  1896. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_moduleValues">$moduleValues</a></li>
  1897. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_options">$options</a></li>
  1898. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#property_scale">$scale</a></li>
  1899. </ul>
  1900. </li>
  1901. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1902. <li>
  1903. <ul class="phpdocumentor-list -clean">
  1904. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method___construct">__construct()</a></li>
  1905. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkup.html#method_dump">dump()</a></li>
  1906. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_moduleValueIsValid">moduleValueIsValid()</a></li>
  1907. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_collectModules">collectModules()</a></li>
  1908. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_copyVars">copyVars()</a></li>
  1909. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_createMarkup">createMarkup()</a></li>
  1910. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getCssClass">getCssClass()</a></li>
  1911. <li class=""><a href="classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_getDefaultModuleValue">getDefaultModuleValue()</a></li>
  1912. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValue">getModuleValue()</a></li>
  1913. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_getModuleValueAt">getModuleValueAt()</a></li>
  1914. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getOutputDimensions">getOutputDimensions()</a></li>
  1915. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_getViewBox">getViewBox()</a></li>
  1916. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_guessMimeType">guessMimeType()</a></li>
  1917. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_header">header()</a></li>
  1918. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_module">module()</a></li>
  1919. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_path">path()</a></li>
  1920. <li class=""><a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#method_paths">paths()</a></li>
  1921. <li class=""><a href="classes/chillerlan-QRCode-Output-CssColorModuleValueTrait.html#method_prepareModuleValue">prepareModuleValue()</a></li>
  1922. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_saveToFile">saveToFile()</a></li>
  1923. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setMatrixDimensions">setMatrixDimensions()</a></li>
  1924. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1925. <li class=""><a href="classes/chillerlan-QRCode-Output-QROutputAbstract.html#method_toBase64DataURI">toBase64DataURI()</a></li>
  1926. </ul>
  1927. </li>
  1928. </ul>
  1929. </section>
  1930. </section>
  1931. </div>
  1932. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1933. <section class="phpdocumentor-search-results__dialog">
  1934. <header class="phpdocumentor-search-results__header">
  1935. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1936. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1937. </header>
  1938. <section class="phpdocumentor-search-results__body">
  1939. <ul class="phpdocumentor-search-results__entries"></ul>
  1940. </section>
  1941. </section>
  1942. </section>
  1943. </div>
  1944. <a href="classes/chillerlan-QRCode-Output-QRMarkupSVG.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1945. </main>
  1946. <script>
  1947. cssVars({});
  1948. </script>
  1949. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1950. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1951. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1952. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1953. </body>
  1954. </html>