chillerlan-QRCode-Output-QRImage.html 125 KB

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