chillerlan-QRCode-Output-QRMarkupSVG.html 125 KB

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