chillerlan-QRCode-Output-QRGdImage.html 125 KB

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