chillerlan-QRCode-Output-QRMarkupSVG.html 122 KB

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