chillerlan-QRCode-QROptionsTrait.html 149 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320
  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=Source+Sans+Pro:wght@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/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace">
  56. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  57. </h4>
  58. <ul class="phpdocumentor-list">
  59. <li>
  60. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  61. </li>
  62. <li>
  63. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  64. </li>
  65. </ul>
  66. </section>
  67. <section class="phpdocumentor-sidebar__category">
  68. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  69. <h4 class="phpdocumentor-sidebar__root-namespace">
  70. <a href="packages/Application.html" class="">Application</a>
  71. </h4>
  72. </section>
  73. <section class="phpdocumentor-sidebar__category">
  74. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  75. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  76. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  78. </section>
  79. <section class="phpdocumentor-sidebar__category">
  80. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  81. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  82. </section>
  83. </aside>
  84. <div class="phpdocumentor-column -eight phpdocumentor-content">
  85. <ul class="phpdocumentor-breadcrumbs">
  86. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  87. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  88. </ul>
  89. <article class="phpdocumentor-element -trait">
  90. <h2 class="phpdocumentor-content__title">
  91. QROptionsTrait
  92. </h2>
  93. <aside class="phpdocumentor-element-found-in">
  94. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  95. :
  96. <span class="phpdocumentor-element-found-in__line">22</span>
  97. </aside>
  98. <p class="phpdocumentor-summary">The QRCode plug-in settings &amp; setter functionality</p>
  99. <h3 id="toc">
  100. Table of Contents
  101. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  102. </h3>
  103. <dl class="phpdocumentor-table-of-contents">
  104. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  105. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_addLogoSpace">$addLogoSpace</a>
  106. <span>
  107. &nbsp;: bool </span>
  108. </dt>
  109. <dd>Toggles logo space creation</dd>
  110. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  111. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_addQuietzone">$addQuietzone</a>
  112. <span>
  113. &nbsp;: bool </span>
  114. </dt>
  115. <dd>Add a &quot;quiet zone&quot; (margin) according to the QR code spec</dd>
  116. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  117. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cachefile">$cachefile</a>
  118. <span>
  119. &nbsp;: string|null </span>
  120. </dt>
  121. <dd>/path/to/cache.file</dd>
  122. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  123. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_circleRadius">$circleRadius</a>
  124. <span>
  125. &nbsp;: float </span>
  126. </dt>
  127. <dd>specifies the radius of the modules when $svgDrawCircularModules is set to true</dd>
  128. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  129. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_connectPaths">$connectPaths</a>
  130. <span>
  131. &nbsp;: bool </span>
  132. </dt>
  133. <dd>whether to connect the paths for the several module types to avoid weird glitches when using gradients etc.</dd>
  134. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  135. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cssClass">$cssClass</a>
  136. <span>
  137. &nbsp;: string </span>
  138. </dt>
  139. <dd>a common css class</dd>
  140. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  141. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_drawCircularModules">$drawCircularModules</a>
  142. <span>
  143. &nbsp;: bool </span>
  144. </dt>
  145. <dd>specify whether to draw the modules as filled circles</dd>
  146. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  147. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eccLevel">$eccLevel</a>
  148. <span>
  149. &nbsp;: int </span>
  150. </dt>
  151. <dd>Error correct level</dd>
  152. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  153. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eol">$eol</a>
  154. <span>
  155. &nbsp;: string </span>
  156. </dt>
  157. <dd>newline string [HTML, SVG, TEXT]</dd>
  158. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  159. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_excludeFromConnect">$excludeFromConnect</a>
  160. <span>
  161. &nbsp;: array&lt;string|int, mixed&gt; </span>
  162. </dt>
  163. <dd>specify which paths/patterns to exclude from connecting if $svgConnectPaths is set to true</dd>
  164. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  165. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_fpdfMeasureUnit">$fpdfMeasureUnit</a>
  166. <span>
  167. &nbsp;: string </span>
  168. </dt>
  169. <dd>Measurement unit for FPDF output: pt, mm, cm, in (defaults to &quot;pt&quot;)</dd>
  170. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  171. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageBase64">$imageBase64</a>
  172. <span>
  173. &nbsp;: bool </span>
  174. </dt>
  175. <dd>toggle base64 or raw image data</dd>
  176. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  177. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparencyBG">$imageTransparencyBG</a>
  178. <span>
  179. &nbsp;: array&lt;string|int, mixed&gt; </span>
  180. </dt>
  181. <dd>Sets the background color in GD mode.</dd>
  182. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  183. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparent">$imageTransparent</a>
  184. <span>
  185. &nbsp;: bool </span>
  186. </dt>
  187. <dd>toggle background transparency</dd>
  188. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  189. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickBG">$imagickBG</a>
  190. <span>
  191. &nbsp;: string|null </span>
  192. </dt>
  193. <dd>Imagick background color (defaults to &quot;transparent&quot;)</dd>
  194. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  195. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickFormat">$imagickFormat</a>
  196. <span>
  197. &nbsp;: string </span>
  198. </dt>
  199. <dd>Imagick output format</dd>
  200. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  201. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_jpegQuality">$jpegQuality</a>
  202. <span>
  203. &nbsp;: int </span>
  204. </dt>
  205. <dd></dd>
  206. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  207. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_keepAsSquare">$keepAsSquare</a>
  208. <span>
  209. &nbsp;: array&lt;string|int, mixed&gt; </span>
  210. </dt>
  211. <dd>specifies which module types to exclude when $svgDrawCircularModules is set to true</dd>
  212. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  213. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceHeight">$logoSpaceHeight</a>
  214. <span>
  215. &nbsp;: int </span>
  216. </dt>
  217. <dd>height of the logo space</dd>
  218. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  219. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceStartX">$logoSpaceStartX</a>
  220. <span>
  221. &nbsp;: int|null </span>
  222. </dt>
  223. <dd>optional horizontal start position of the logo space (top left corner)</dd>
  224. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  225. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceStartY">$logoSpaceStartY</a>
  226. <span>
  227. &nbsp;: int|null </span>
  228. </dt>
  229. <dd>optional vertical start position of the logo space (top left corner)</dd>
  230. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  231. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceWidth">$logoSpaceWidth</a>
  232. <span>
  233. &nbsp;: int </span>
  234. </dt>
  235. <dd>width of the logo space</dd>
  236. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  237. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupDark">$markupDark</a>
  238. <span>
  239. &nbsp;: string </span>
  240. </dt>
  241. <dd>markup substitute for dark (CSS value)</dd>
  242. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  243. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupLight">$markupLight</a>
  244. <span>
  245. &nbsp;: string </span>
  246. </dt>
  247. <dd>markup substitute for light (CSS value)</dd>
  248. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  249. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_maskPattern">$maskPattern</a>
  250. <span>
  251. &nbsp;: int </span>
  252. </dt>
  253. <dd>Mask Pattern to use (no value in using, mostly for unit testing purposes)</dd>
  254. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  255. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_moduleValues">$moduleValues</a>
  256. <span>
  257. &nbsp;: array&lt;string|int, mixed&gt;|null </span>
  258. </dt>
  259. <dd>Module values map</dd>
  260. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  261. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputInterface">$outputInterface</a>
  262. <span>
  263. &nbsp;: string|null </span>
  264. </dt>
  265. <dd>the FQCN of the custom QROutputInterface if $outputType is set to QRCode::OUTPUT_CUSTOM</dd>
  266. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  267. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputType">$outputType</a>
  268. <span>
  269. &nbsp;: string </span>
  270. </dt>
  271. <dd>The output type</dd>
  272. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  273. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_pngCompression">$pngCompression</a>
  274. <span>
  275. &nbsp;: int </span>
  276. </dt>
  277. <dd></dd>
  278. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  279. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_quietzoneSize">$quietzoneSize</a>
  280. <span>
  281. &nbsp;: int </span>
  282. </dt>
  283. <dd>Size of the quiet zone</dd>
  284. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  285. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_readerGrayscale">$readerGrayscale</a>
  286. <span>
  287. &nbsp;: bool </span>
  288. </dt>
  289. <dd>grayscale the image before reading</dd>
  290. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  291. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_readerIncreaseContrast">$readerIncreaseContrast</a>
  292. <span>
  293. &nbsp;: bool </span>
  294. </dt>
  295. <dd>increase the contrast before reading</dd>
  296. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  297. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_readerUseImagickIfAvailable">$readerUseImagickIfAvailable</a>
  298. <span>
  299. &nbsp;: bool </span>
  300. </dt>
  301. <dd>use Imaagick (if available) when reading QR Codes</dd>
  302. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  303. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_returnResource">$returnResource</a>
  304. <span>
  305. &nbsp;: bool </span>
  306. </dt>
  307. <dd>Return the image resource instead of a render if applicable.</dd>
  308. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  309. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_scale">$scale</a>
  310. <span>
  311. &nbsp;: int </span>
  312. </dt>
  313. <dd>size of a QR code pixel [SVG, IMAGE_*], HTML via CSS</dd>
  314. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  315. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgDefs">$svgDefs</a>
  316. <span>
  317. &nbsp;: string </span>
  318. </dt>
  319. <dd>anything between &lt;defs&gt;</dd>
  320. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  321. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgHeight">$svgHeight</a>
  322. <span>
  323. &nbsp;: string|null </span>
  324. </dt>
  325. <dd>optional &quot;height&quot; attribute with the specified value (note that the value is not checked!)</dd>
  326. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  327. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgOpacity">$svgOpacity</a>
  328. <span>
  329. &nbsp;: float </span>
  330. </dt>
  331. <dd>SVG opacity</dd>
  332. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  333. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgPreserveAspectRatio">$svgPreserveAspectRatio</a>
  334. <span>
  335. &nbsp;: string </span>
  336. </dt>
  337. <dd></dd>
  338. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  339. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgViewBoxSize">$svgViewBoxSize</a>
  340. <span>
  341. &nbsp;: int|null </span>
  342. </dt>
  343. <dd>SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.</dd>
  344. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  345. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgWidth">$svgWidth</a>
  346. <span>
  347. &nbsp;: string|null </span>
  348. </dt>
  349. <dd>optional &quot;width&quot; attribute with the specified value (note that the value is not checked!)</dd>
  350. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  351. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textDark">$textDark</a>
  352. <span>
  353. &nbsp;: string </span>
  354. </dt>
  355. <dd>string substitute for dark</dd>
  356. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  357. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textLight">$textLight</a>
  358. <span>
  359. &nbsp;: string </span>
  360. </dt>
  361. <dd>string substitute for light</dd>
  362. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  363. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_version">$version</a>
  364. <span>
  365. &nbsp;: int </span>
  366. </dt>
  367. <dd>QR Code version number</dd>
  368. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  369. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMax">$versionMax</a>
  370. <span>
  371. &nbsp;: int </span>
  372. </dt>
  373. <dd>Maximum QR version</dd>
  374. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  375. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMin">$versionMin</a>
  376. <span>
  377. &nbsp;: int </span>
  378. </dt>
  379. <dd>Minimum QR version</dd>
  380. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  381. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_clampLogoSpaceValue">clampLogoSpaceValue()</a>
  382. <span>
  383. &nbsp;: int </span>
  384. </dt>
  385. <dd>clamp the logo space values between 0 and maximum length (177 modules at version 40)</dd>
  386. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  387. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_circleRadius">set_circleRadius()</a>
  388. <span>
  389. &nbsp;: void </span>
  390. </dt>
  391. <dd>clamp/set SVG circle radius</dd>
  392. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  393. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_eccLevel">set_eccLevel()</a>
  394. <span>
  395. &nbsp;: void </span>
  396. </dt>
  397. <dd>sets the error correction level</dd>
  398. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  399. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_fpdfMeasureUnit">set_fpdfMeasureUnit()</a>
  400. <span>
  401. &nbsp;: void </span>
  402. </dt>
  403. <dd>sets the FPDF measurement unit</dd>
  404. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  405. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_imageTransparencyBG">set_imageTransparencyBG()</a>
  406. <span>
  407. &nbsp;: void </span>
  408. </dt>
  409. <dd>sets the transparency background color</dd>
  410. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  411. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceHeight">set_logoSpaceHeight()</a>
  412. <span>
  413. &nbsp;: void </span>
  414. </dt>
  415. <dd>clamp/set logo space height</dd>
  416. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  417. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceStartX">set_logoSpaceStartX()</a>
  418. <span>
  419. &nbsp;: void </span>
  420. </dt>
  421. <dd>clamp/set horizontal logo space start</dd>
  422. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  423. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceStartY">set_logoSpaceStartY()</a>
  424. <span>
  425. &nbsp;: void </span>
  426. </dt>
  427. <dd>clamp/set vertical logo space start</dd>
  428. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  429. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceWidth">set_logoSpaceWidth()</a>
  430. <span>
  431. &nbsp;: void </span>
  432. </dt>
  433. <dd>clamp/set logo space width</dd>
  434. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  435. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_maskPattern">set_maskPattern()</a>
  436. <span>
  437. &nbsp;: void </span>
  438. </dt>
  439. <dd>sets/clamps the mask pattern</dd>
  440. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  441. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_quietzoneSize">set_quietzoneSize()</a>
  442. <span>
  443. &nbsp;: void </span>
  444. </dt>
  445. <dd>sets/clamps the quiet zone size</dd>
  446. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  447. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_readerUseImagickIfAvailable">set_readerUseImagickIfAvailable()</a>
  448. <span>
  449. &nbsp;: void </span>
  450. </dt>
  451. <dd>enables Imagick for the QR Code reader if the extension is available</dd>
  452. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  453. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_version">set_version()</a>
  454. <span>
  455. &nbsp;: void </span>
  456. </dt>
  457. <dd>sets/clamps the version number</dd>
  458. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  459. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMax">set_versionMax()</a>
  460. <span>
  461. &nbsp;: void </span>
  462. </dt>
  463. <dd>sets the maximum version number</dd>
  464. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  465. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMin">set_versionMin()</a>
  466. <span>
  467. &nbsp;: void </span>
  468. </dt>
  469. <dd>sets the minimum version number</dd>
  470. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  471. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_setMinMaxVersion">setMinMaxVersion()</a>
  472. <span>
  473. &nbsp;: void </span>
  474. </dt>
  475. <dd>clamp min/max version number</dd>
  476. </dl>
  477. <section class="phpdocumentor-properties">
  478. <h3 class="phpdocumentor-elements__header" id="properties">
  479. Properties
  480. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  481. </h3>
  482. <article
  483. class="
  484. phpdocumentor-element
  485. -property
  486. -protected
  487. "
  488. >
  489. <h4 class="phpdocumentor-element__name" id="property_addLogoSpace">
  490. $addLogoSpace
  491. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_addLogoSpace" class="headerlink"><i class="fas fa-link"></i></a>
  492. <span class="phpdocumentor-element__modifiers">
  493. </span>
  494. </h4>
  495. <aside class="phpdocumentor-element-found-in">
  496. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  497. :
  498. <span class="phpdocumentor-element-found-in__line">321</span>
  499. </aside>
  500. <p class="phpdocumentor-summary">Toggles logo space creation</p>
  501. <code class="phpdocumentor-code phpdocumentor-signature ">
  502. <span class="phpdocumentor-signature__visibility">protected</span>
  503. <span class="phpdocumentor-signature__type">bool</span>
  504. <span class="phpdocumentor-signature__name">$addLogoSpace</span>
  505. = <span class="phpdocumentor-signature__default-value">false</span></code>
  506. <section class="phpdocumentor-description"></section>
  507. </article>
  508. <article
  509. class="
  510. phpdocumentor-element
  511. -property
  512. -protected
  513. "
  514. >
  515. <h4 class="phpdocumentor-element__name" id="property_addQuietzone">
  516. $addQuietzone
  517. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_addQuietzone" class="headerlink"><i class="fas fa-link"></i></a>
  518. <span class="phpdocumentor-element__modifiers">
  519. </span>
  520. </h4>
  521. <aside class="phpdocumentor-element-found-in">
  522. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  523. :
  524. <span class="phpdocumentor-element-found-in__line">67</span>
  525. </aside>
  526. <p class="phpdocumentor-summary">Add a &quot;quiet zone&quot; (margin) according to the QR code spec</p>
  527. <code class="phpdocumentor-code phpdocumentor-signature ">
  528. <span class="phpdocumentor-signature__visibility">protected</span>
  529. <span class="phpdocumentor-signature__type">bool</span>
  530. <span class="phpdocumentor-signature__name">$addQuietzone</span>
  531. = <span class="phpdocumentor-signature__default-value">true</span></code>
  532. <section class="phpdocumentor-description"></section>
  533. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  534. Tags
  535. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  536. </h5>
  537. <dl class="phpdocumentor-tag-list">
  538. <dt class="phpdocumentor-tag-list__entry">
  539. <span class="phpdocumentor-tag__name">see</span>
  540. </dt>
  541. <dd class="phpdocumentor-tag-list__definition">
  542. <span class="phpdocumentor-tag-link"><a href="https://www.qrcode.com/en/howto/code.html"><abbr title="https://www.qrcode.com/en/howto/code.html">https://www.qrcode.com/en/howto/code.html</abbr></a></span>
  543. </dd>
  544. </dl>
  545. </article>
  546. <article
  547. class="
  548. phpdocumentor-element
  549. -property
  550. -protected
  551. "
  552. >
  553. <h4 class="phpdocumentor-element__name" id="property_cachefile">
  554. $cachefile
  555. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cachefile" class="headerlink"><i class="fas fa-link"></i></a>
  556. <span class="phpdocumentor-element__modifiers">
  557. </span>
  558. </h4>
  559. <aside class="phpdocumentor-element-found-in">
  560. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  561. :
  562. <span class="phpdocumentor-element-found-in__line">97</span>
  563. </aside>
  564. <p class="phpdocumentor-summary">/path/to/cache.file</p>
  565. <code class="phpdocumentor-code phpdocumentor-signature ">
  566. <span class="phpdocumentor-signature__visibility">protected</span>
  567. <span class="phpdocumentor-signature__type">string|null</span>
  568. <span class="phpdocumentor-signature__name">$cachefile</span>
  569. = <span class="phpdocumentor-signature__default-value">null</span></code>
  570. <section class="phpdocumentor-description"></section>
  571. </article>
  572. <article
  573. class="
  574. phpdocumentor-element
  575. -property
  576. -protected
  577. "
  578. >
  579. <h4 class="phpdocumentor-element__name" id="property_circleRadius">
  580. $circleRadius
  581. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  582. <span class="phpdocumentor-element__modifiers">
  583. </span>
  584. </h4>
  585. <aside class="phpdocumentor-element-found-in">
  586. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  587. :
  588. <span class="phpdocumentor-element-found-in__line">184</span>
  589. </aside>
  590. <p class="phpdocumentor-summary">specifies the radius of the modules when $svgDrawCircularModules is set to true</p>
  591. <code class="phpdocumentor-code phpdocumentor-signature ">
  592. <span class="phpdocumentor-signature__visibility">protected</span>
  593. <span class="phpdocumentor-signature__type">float</span>
  594. <span class="phpdocumentor-signature__name">$circleRadius</span>
  595. = <span class="phpdocumentor-signature__default-value">0.45</span></code>
  596. <section class="phpdocumentor-description"></section>
  597. </article>
  598. <article
  599. class="
  600. phpdocumentor-element
  601. -property
  602. -protected
  603. "
  604. >
  605. <h4 class="phpdocumentor-element__name" id="property_connectPaths">
  606. $connectPaths
  607. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_connectPaths" class="headerlink"><i class="fas fa-link"></i></a>
  608. <span class="phpdocumentor-element__modifiers">
  609. </span>
  610. </h4>
  611. <aside class="phpdocumentor-element-found-in">
  612. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  613. :
  614. <span class="phpdocumentor-element-found-in__line">160</span>
  615. </aside>
  616. <p class="phpdocumentor-summary">whether to connect the paths for the several module types to avoid weird glitches when using gradients etc.</p>
  617. <code class="phpdocumentor-code phpdocumentor-signature ">
  618. <span class="phpdocumentor-signature__visibility">protected</span>
  619. <span class="phpdocumentor-signature__type">bool</span>
  620. <span class="phpdocumentor-signature__name">$connectPaths</span>
  621. = <span class="phpdocumentor-signature__default-value">false</span></code>
  622. <section class="phpdocumentor-description"></section>
  623. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  624. Tags
  625. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  626. </h5>
  627. <dl class="phpdocumentor-tag-list">
  628. <dt class="phpdocumentor-tag-list__entry">
  629. <span class="phpdocumentor-tag__name">see</span>
  630. </dt>
  631. <dd class="phpdocumentor-tag-list__definition">
  632. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/57"><abbr title="https://github.com/chillerlan/php-qrcode/issues/57">https://github.com/chillerlan/php-qrcode/issues/57</abbr></a></span>
  633. </dd>
  634. </dl>
  635. </article>
  636. <article
  637. class="
  638. phpdocumentor-element
  639. -property
  640. -protected
  641. "
  642. >
  643. <h4 class="phpdocumentor-element__name" id="property_cssClass">
  644. $cssClass
  645. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_cssClass" class="headerlink"><i class="fas fa-link"></i></a>
  646. <span class="phpdocumentor-element__modifiers">
  647. </span>
  648. </h4>
  649. <aside class="phpdocumentor-element-found-in">
  650. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  651. :
  652. <span class="phpdocumentor-element-found-in__line">112</span>
  653. </aside>
  654. <p class="phpdocumentor-summary">a common css class</p>
  655. <code class="phpdocumentor-code phpdocumentor-signature ">
  656. <span class="phpdocumentor-signature__visibility">protected</span>
  657. <span class="phpdocumentor-signature__type">string</span>
  658. <span class="phpdocumentor-signature__name">$cssClass</span>
  659. = <span class="phpdocumentor-signature__default-value">&#039;qrcode&#039;</span></code>
  660. <section class="phpdocumentor-description"></section>
  661. </article>
  662. <article
  663. class="
  664. phpdocumentor-element
  665. -property
  666. -protected
  667. "
  668. >
  669. <h4 class="phpdocumentor-element__name" id="property_drawCircularModules">
  670. $drawCircularModules
  671. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_drawCircularModules" class="headerlink"><i class="fas fa-link"></i></a>
  672. <span class="phpdocumentor-element__modifiers">
  673. </span>
  674. </h4>
  675. <aside class="phpdocumentor-element-found-in">
  676. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  677. :
  678. <span class="phpdocumentor-element-found-in__line">179</span>
  679. </aside>
  680. <p class="phpdocumentor-summary">specify whether to draw the modules as filled circles</p>
  681. <code class="phpdocumentor-code phpdocumentor-signature ">
  682. <span class="phpdocumentor-signature__visibility">protected</span>
  683. <span class="phpdocumentor-signature__type">bool</span>
  684. <span class="phpdocumentor-signature__name">$drawCircularModules</span>
  685. = <span class="phpdocumentor-signature__default-value">false</span></code>
  686. <section class="phpdocumentor-description"><p>a note for GDImage output:</p>
  687. <p>if QROptions::$scale is less or equal than 20, the image will be upscaled internally, then the modules will be drawn
  688. using imagefilledellipse() and then scaled back to the expected size using IMG_BICUBIC which in turn produces
  689. unexpected outcomes in combination with transparency - to avoid this, set scale to a value greater than 20.</p>
  690. </section>
  691. <section class="phpdocumentor-description"></section>
  692. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  693. Tags
  694. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  695. </h5>
  696. <dl class="phpdocumentor-tag-list">
  697. <dt class="phpdocumentor-tag-list__entry">
  698. <span class="phpdocumentor-tag__name">see</span>
  699. </dt>
  700. <dd class="phpdocumentor-tag-list__definition">
  701. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/23"><abbr title="https://github.com/chillerlan/php-qrcode/issues/23">https://github.com/chillerlan/php-qrcode/issues/23</abbr></a></span>
  702. </dd>
  703. <dt class="phpdocumentor-tag-list__entry">
  704. <span class="phpdocumentor-tag__name">see</span>
  705. </dt>
  706. <dd class="phpdocumentor-tag-list__definition">
  707. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/discussions/122"><abbr title="https://github.com/chillerlan/php-qrcode/discussions/122">https://github.com/chillerlan/php-qrcode/discussions/122</abbr></a></span>
  708. </dd>
  709. </dl>
  710. </article>
  711. <article
  712. class="
  713. phpdocumentor-element
  714. -property
  715. -protected
  716. "
  717. >
  718. <h4 class="phpdocumentor-element__name" id="property_eccLevel">
  719. $eccLevel
  720. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  721. <span class="phpdocumentor-element__modifiers">
  722. </span>
  723. </h4>
  724. <aside class="phpdocumentor-element-found-in">
  725. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  726. :
  727. <span class="phpdocumentor-element-found-in__line">53</span>
  728. </aside>
  729. <p class="phpdocumentor-summary">Error correct level</p>
  730. <code class="phpdocumentor-code phpdocumentor-signature ">
  731. <span class="phpdocumentor-signature__visibility">protected</span>
  732. <span class="phpdocumentor-signature__type">int</span>
  733. <span class="phpdocumentor-signature__name">$eccLevel</span>
  734. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\EccLevel::L</span></code>
  735. <section class="phpdocumentor-description"><p>QRCode::ECC_X where X is:</p>
  736. <ul>
  737. <li>L =&gt; 7%</li>
  738. <li>M =&gt; 15%</li>
  739. <li>Q =&gt; 25%</li>
  740. <li>H =&gt; 30%</li>
  741. </ul>
  742. </section>
  743. <section class="phpdocumentor-description"></section>
  744. </article>
  745. <article
  746. class="
  747. phpdocumentor-element
  748. -property
  749. -protected
  750. "
  751. >
  752. <h4 class="phpdocumentor-element__name" id="property_eol">
  753. $eol
  754. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_eol" class="headerlink"><i class="fas fa-link"></i></a>
  755. <span class="phpdocumentor-element__modifiers">
  756. </span>
  757. </h4>
  758. <aside class="phpdocumentor-element-found-in">
  759. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  760. :
  761. <span class="phpdocumentor-element-found-in__line">102</span>
  762. </aside>
  763. <p class="phpdocumentor-summary">newline string [HTML, SVG, TEXT]</p>
  764. <code class="phpdocumentor-code phpdocumentor-signature ">
  765. <span class="phpdocumentor-signature__visibility">protected</span>
  766. <span class="phpdocumentor-signature__type">string</span>
  767. <span class="phpdocumentor-signature__name">$eol</span>
  768. = <span class="phpdocumentor-signature__default-value">PHP_EOL</span></code>
  769. <section class="phpdocumentor-description"></section>
  770. </article>
  771. <article
  772. class="
  773. phpdocumentor-element
  774. -property
  775. -protected
  776. "
  777. >
  778. <h4 class="phpdocumentor-element__name" id="property_excludeFromConnect">
  779. $excludeFromConnect
  780. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_excludeFromConnect" class="headerlink"><i class="fas fa-link"></i></a>
  781. <span class="phpdocumentor-element__modifiers">
  782. </span>
  783. </h4>
  784. <aside class="phpdocumentor-element-found-in">
  785. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  786. :
  787. <span class="phpdocumentor-element-found-in__line">165</span>
  788. </aside>
  789. <p class="phpdocumentor-summary">specify which paths/patterns to exclude from connecting if $svgConnectPaths is set to true</p>
  790. <code class="phpdocumentor-code phpdocumentor-signature ">
  791. <span class="phpdocumentor-signature__visibility">protected</span>
  792. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  793. <span class="phpdocumentor-signature__name">$excludeFromConnect</span>
  794. = <span class="phpdocumentor-signature__default-value">[]</span></code>
  795. <section class="phpdocumentor-description"></section>
  796. </article>
  797. <article
  798. class="
  799. phpdocumentor-element
  800. -property
  801. -protected
  802. "
  803. >
  804. <h4 class="phpdocumentor-element__name" id="property_fpdfMeasureUnit">
  805. $fpdfMeasureUnit
  806. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_fpdfMeasureUnit" class="headerlink"><i class="fas fa-link"></i></a>
  807. <span class="phpdocumentor-element__modifiers">
  808. </span>
  809. </h4>
  810. <aside class="phpdocumentor-element-found-in">
  811. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  812. :
  813. <span class="phpdocumentor-element-found-in__line">291</span>
  814. </aside>
  815. <p class="phpdocumentor-summary">Measurement unit for FPDF output: pt, mm, cm, in (defaults to &quot;pt&quot;)</p>
  816. <code class="phpdocumentor-code phpdocumentor-signature ">
  817. <span class="phpdocumentor-signature__visibility">protected</span>
  818. <span class="phpdocumentor-signature__type">string</span>
  819. <span class="phpdocumentor-signature__name">$fpdfMeasureUnit</span>
  820. = <span class="phpdocumentor-signature__default-value">&#039;pt&#039;</span></code>
  821. <section class="phpdocumentor-description"></section>
  822. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  823. Tags
  824. <a href="#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"><abbr title="\FPDF::__construct()">FPDF::__construct()</abbr></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_imageBase64">
  843. $imageBase64
  844. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageBase64" 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/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  850. :
  851. <span class="phpdocumentor-element-found-in__line">230</span>
  852. </aside>
  853. <p class="phpdocumentor-summary">toggle base64 or raw image data</p>
  854. <code class="phpdocumentor-code phpdocumentor-signature ">
  855. <span class="phpdocumentor-signature__visibility">protected</span>
  856. <span class="phpdocumentor-signature__type">bool</span>
  857. <span class="phpdocumentor-signature__name">$imageBase64</span>
  858. = <span class="phpdocumentor-signature__default-value">true</span></code>
  859. <section class="phpdocumentor-description"></section>
  860. </article>
  861. <article
  862. class="
  863. phpdocumentor-element
  864. -property
  865. -protected
  866. "
  867. >
  868. <h4 class="phpdocumentor-element__name" id="property_imageTransparencyBG">
  869. $imageTransparencyBG
  870. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparencyBG" class="headerlink"><i class="fas fa-link"></i></a>
  871. <span class="phpdocumentor-element__modifiers">
  872. </span>
  873. </h4>
  874. <aside class="phpdocumentor-element-found-in">
  875. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  876. :
  877. <span class="phpdocumentor-element-found-in__line">259</span>
  878. </aside>
  879. <p class="phpdocumentor-summary">Sets the background color in GD mode.</p>
  880. <code class="phpdocumentor-code phpdocumentor-signature ">
  881. <span class="phpdocumentor-signature__visibility">protected</span>
  882. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  883. <span class="phpdocumentor-signature__name">$imageTransparencyBG</span>
  884. = <span class="phpdocumentor-signature__default-value">[255, 255, 255]</span></code>
  885. <section class="phpdocumentor-description"><p>When QROptions::$imageTransparent is set to true, this color is set as transparent in imagecolortransparent()</p>
  886. </section>
  887. <section class="phpdocumentor-description"></section>
  888. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  889. Tags
  890. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  891. </h5>
  892. <dl class="phpdocumentor-tag-list">
  893. <dt class="phpdocumentor-tag-list__entry">
  894. <span class="phpdocumentor-tag__name">see</span>
  895. </dt>
  896. <dd class="phpdocumentor-tag-list__definition">
  897. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QRGdImage.html"><abbr title="\chillerlan\QRCode\Output\QRGdImage">QRGdImage</abbr></a></span>
  898. </dd>
  899. <dt class="phpdocumentor-tag-list__entry">
  900. <span class="phpdocumentor-tag__name">see</span>
  901. </dt>
  902. <dd class="phpdocumentor-tag-list__definition">
  903. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$imageTransparent">QROptions::$imageTransparent</abbr></span>
  904. </dd>
  905. <dt class="phpdocumentor-tag-list__entry">
  906. <span class="phpdocumentor-tag__name">see</span>
  907. </dt>
  908. <dd class="phpdocumentor-tag-list__definition">
  909. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\imagecolortransparent()">imagecolortransparent()</abbr></span>
  910. <section class="phpdocumentor-description"><p>[R, G, B]</p>
  911. </section>
  912. </dd>
  913. </dl>
  914. </article>
  915. <article
  916. class="
  917. phpdocumentor-element
  918. -property
  919. -protected
  920. "
  921. >
  922. <h4 class="phpdocumentor-element__name" id="property_imageTransparent">
  923. $imageTransparent
  924. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imageTransparent" class="headerlink"><i class="fas fa-link"></i></a>
  925. <span class="phpdocumentor-element__modifiers">
  926. </span>
  927. </h4>
  928. <aside class="phpdocumentor-element-found-in">
  929. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  930. :
  931. <span class="phpdocumentor-element-found-in__line">246</span>
  932. </aside>
  933. <p class="phpdocumentor-summary">toggle background transparency</p>
  934. <code class="phpdocumentor-code phpdocumentor-signature ">
  935. <span class="phpdocumentor-signature__visibility">protected</span>
  936. <span class="phpdocumentor-signature__type">bool</span>
  937. <span class="phpdocumentor-signature__name">$imageTransparent</span>
  938. = <span class="phpdocumentor-signature__default-value">true</span></code>
  939. <section class="phpdocumentor-description"><ul>
  940. <li>
  941. <p>In GdImage mode (png, gif) it sets imagecolortransparent() with QROptions::$imageTransparencyBG.
  942. It also sets the &quot;normal&quot; background color without transparency switch.</p>
  943. </li>
  944. <li>
  945. <p>In SVG mode (as of v5), it won't render the &quot;light&quot; modules,
  946. as opacity/transparency can easily be set with css properties.</p>
  947. </li>
  948. <li>
  949. <p>It has no effect in the FPDF and Imagick output modules.</p>
  950. </li>
  951. </ul>
  952. </section>
  953. <section class="phpdocumentor-description"></section>
  954. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  955. Tags
  956. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  957. </h5>
  958. <dl class="phpdocumentor-tag-list">
  959. <dt class="phpdocumentor-tag-list__entry">
  960. <span class="phpdocumentor-tag__name">see</span>
  961. </dt>
  962. <dd class="phpdocumentor-tag-list__definition">
  963. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\QROptions::$imageTransparencyBG">QROptions::$imageTransparencyBG</abbr></span>
  964. </dd>
  965. <dt class="phpdocumentor-tag-list__entry">
  966. <span class="phpdocumentor-tag__name">see</span>
  967. </dt>
  968. <dd class="phpdocumentor-tag-list__definition">
  969. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/discussions/121"><abbr title="https://github.com/chillerlan/php-qrcode/discussions/121">https://github.com/chillerlan/php-qrcode/discussions/121</abbr></a></span>
  970. </dd>
  971. </dl>
  972. </article>
  973. <article
  974. class="
  975. phpdocumentor-element
  976. -property
  977. -protected
  978. "
  979. >
  980. <h4 class="phpdocumentor-element__name" id="property_imagickBG">
  981. $imagickBG
  982. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickBG" class="headerlink"><i class="fas fa-link"></i></a>
  983. <span class="phpdocumentor-element__modifiers">
  984. </span>
  985. </h4>
  986. <aside class="phpdocumentor-element-found-in">
  987. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  988. :
  989. <span class="phpdocumentor-element-found-in__line">284</span>
  990. </aside>
  991. <p class="phpdocumentor-summary">Imagick background color (defaults to &quot;transparent&quot;)</p>
  992. <code class="phpdocumentor-code phpdocumentor-signature ">
  993. <span class="phpdocumentor-signature__visibility">protected</span>
  994. <span class="phpdocumentor-signature__type">string|null</span>
  995. <span class="phpdocumentor-signature__name">$imagickBG</span>
  996. = <span class="phpdocumentor-signature__default-value">null</span></code>
  997. <section class="phpdocumentor-description"></section>
  998. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  999. Tags
  1000. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1001. </h5>
  1002. <dl class="phpdocumentor-tag-list">
  1003. <dt class="phpdocumentor-tag-list__entry">
  1004. <span class="phpdocumentor-tag__name">see</span>
  1005. </dt>
  1006. <dd class="phpdocumentor-tag-list__definition">
  1007. <span class="phpdocumentor-tag-link"><abbr title="\ImagickPixel::__construct()">ImagickPixel::__construct()</abbr></span>
  1008. </dd>
  1009. </dl>
  1010. </article>
  1011. <article
  1012. class="
  1013. phpdocumentor-element
  1014. -property
  1015. -protected
  1016. "
  1017. >
  1018. <h4 class="phpdocumentor-element__name" id="property_imagickFormat">
  1019. $imagickFormat
  1020. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_imagickFormat" class="headerlink"><i class="fas fa-link"></i></a>
  1021. <span class="phpdocumentor-element__modifiers">
  1022. </span>
  1023. </h4>
  1024. <aside class="phpdocumentor-element-found-in">
  1025. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1026. :
  1027. <span class="phpdocumentor-element-found-in__line">277</span>
  1028. </aside>
  1029. <p class="phpdocumentor-summary">Imagick output format</p>
  1030. <code class="phpdocumentor-code phpdocumentor-signature ">
  1031. <span class="phpdocumentor-signature__visibility">protected</span>
  1032. <span class="phpdocumentor-signature__type">string</span>
  1033. <span class="phpdocumentor-signature__name">$imagickFormat</span>
  1034. = <span class="phpdocumentor-signature__default-value">&#039;png32&#039;</span></code>
  1035. <section class="phpdocumentor-description"></section>
  1036. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1037. Tags
  1038. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1039. </h5>
  1040. <dl class="phpdocumentor-tag-list">
  1041. <dt class="phpdocumentor-tag-list__entry">
  1042. <span class="phpdocumentor-tag__name">see</span>
  1043. </dt>
  1044. <dd class="phpdocumentor-tag-list__definition">
  1045. <span class="phpdocumentor-tag-link"><abbr title="\Imagick::setImageFormat()">Imagick::setImageFormat()</abbr></span>
  1046. </dd>
  1047. <dt class="phpdocumentor-tag-list__entry">
  1048. <span class="phpdocumentor-tag__name">see</span>
  1049. </dt>
  1050. <dd class="phpdocumentor-tag-list__definition">
  1051. <span class="phpdocumentor-tag-link"><a href="https://www.imagemagick.org/script/formats.php"><abbr title="https://www.imagemagick.org/script/formats.php">https://www.imagemagick.org/script/formats.php</abbr></a></span>
  1052. </dd>
  1053. </dl>
  1054. </article>
  1055. <article
  1056. class="
  1057. phpdocumentor-element
  1058. -property
  1059. -protected
  1060. "
  1061. >
  1062. <h4 class="phpdocumentor-element__name" id="property_jpegQuality">
  1063. $jpegQuality
  1064. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_jpegQuality" class="headerlink"><i class="fas fa-link"></i></a>
  1065. <span class="phpdocumentor-element__modifiers">
  1066. </span>
  1067. </h4>
  1068. <aside class="phpdocumentor-element-found-in">
  1069. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1070. :
  1071. <span class="phpdocumentor-element-found-in__line">269</span>
  1072. </aside>
  1073. <code class="phpdocumentor-code phpdocumentor-signature ">
  1074. <span class="phpdocumentor-signature__visibility">protected</span>
  1075. <span class="phpdocumentor-signature__type">int</span>
  1076. <span class="phpdocumentor-signature__name">$jpegQuality</span>
  1077. = <span class="phpdocumentor-signature__default-value">85</span></code>
  1078. <section class="phpdocumentor-description"></section>
  1079. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1080. Tags
  1081. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1082. </h5>
  1083. <dl class="phpdocumentor-tag-list">
  1084. <dt class="phpdocumentor-tag-list__entry">
  1085. <span class="phpdocumentor-tag__name">see</span>
  1086. </dt>
  1087. <dd class="phpdocumentor-tag-list__definition">
  1088. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\imagejpeg()">imagejpeg()</abbr></span>
  1089. </dd>
  1090. </dl>
  1091. </article>
  1092. <article
  1093. class="
  1094. phpdocumentor-element
  1095. -property
  1096. -protected
  1097. "
  1098. >
  1099. <h4 class="phpdocumentor-element__name" id="property_keepAsSquare">
  1100. $keepAsSquare
  1101. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_keepAsSquare" class="headerlink"><i class="fas fa-link"></i></a>
  1102. <span class="phpdocumentor-element__modifiers">
  1103. </span>
  1104. </h4>
  1105. <aside class="phpdocumentor-element-found-in">
  1106. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1107. :
  1108. <span class="phpdocumentor-element-found-in__line">189</span>
  1109. </aside>
  1110. <p class="phpdocumentor-summary">specifies which module types to exclude when $svgDrawCircularModules is set to true</p>
  1111. <code class="phpdocumentor-code phpdocumentor-signature ">
  1112. <span class="phpdocumentor-signature__visibility">protected</span>
  1113. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  1114. <span class="phpdocumentor-signature__name">$keepAsSquare</span>
  1115. = <span class="phpdocumentor-signature__default-value">[]</span></code>
  1116. <section class="phpdocumentor-description"></section>
  1117. </article>
  1118. <article
  1119. class="
  1120. phpdocumentor-element
  1121. -property
  1122. -protected
  1123. "
  1124. >
  1125. <h4 class="phpdocumentor-element__name" id="property_logoSpaceHeight">
  1126. $logoSpaceHeight
  1127. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceHeight" class="headerlink"><i class="fas fa-link"></i></a>
  1128. <span class="phpdocumentor-element__modifiers">
  1129. </span>
  1130. </h4>
  1131. <aside class="phpdocumentor-element-found-in">
  1132. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1133. :
  1134. <span class="phpdocumentor-element-found-in__line">331</span>
  1135. </aside>
  1136. <p class="phpdocumentor-summary">height of the logo space</p>
  1137. <code class="phpdocumentor-code phpdocumentor-signature ">
  1138. <span class="phpdocumentor-signature__visibility">protected</span>
  1139. <span class="phpdocumentor-signature__type">int</span>
  1140. <span class="phpdocumentor-signature__name">$logoSpaceHeight</span>
  1141. = <span class="phpdocumentor-signature__default-value">0</span></code>
  1142. <section class="phpdocumentor-description"></section>
  1143. </article>
  1144. <article
  1145. class="
  1146. phpdocumentor-element
  1147. -property
  1148. -protected
  1149. "
  1150. >
  1151. <h4 class="phpdocumentor-element__name" id="property_logoSpaceStartX">
  1152. $logoSpaceStartX
  1153. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceStartX" class="headerlink"><i class="fas fa-link"></i></a>
  1154. <span class="phpdocumentor-element__modifiers">
  1155. </span>
  1156. </h4>
  1157. <aside class="phpdocumentor-element-found-in">
  1158. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1159. :
  1160. <span class="phpdocumentor-element-found-in__line">336</span>
  1161. </aside>
  1162. <p class="phpdocumentor-summary">optional horizontal start position of the logo space (top left corner)</p>
  1163. <code class="phpdocumentor-code phpdocumentor-signature ">
  1164. <span class="phpdocumentor-signature__visibility">protected</span>
  1165. <span class="phpdocumentor-signature__type">int|null</span>
  1166. <span class="phpdocumentor-signature__name">$logoSpaceStartX</span>
  1167. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1168. <section class="phpdocumentor-description"></section>
  1169. </article>
  1170. <article
  1171. class="
  1172. phpdocumentor-element
  1173. -property
  1174. -protected
  1175. "
  1176. >
  1177. <h4 class="phpdocumentor-element__name" id="property_logoSpaceStartY">
  1178. $logoSpaceStartY
  1179. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceStartY" class="headerlink"><i class="fas fa-link"></i></a>
  1180. <span class="phpdocumentor-element__modifiers">
  1181. </span>
  1182. </h4>
  1183. <aside class="phpdocumentor-element-found-in">
  1184. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1185. :
  1186. <span class="phpdocumentor-element-found-in__line">341</span>
  1187. </aside>
  1188. <p class="phpdocumentor-summary">optional vertical start position of the logo space (top left corner)</p>
  1189. <code class="phpdocumentor-code phpdocumentor-signature ">
  1190. <span class="phpdocumentor-signature__visibility">protected</span>
  1191. <span class="phpdocumentor-signature__type">int|null</span>
  1192. <span class="phpdocumentor-signature__name">$logoSpaceStartY</span>
  1193. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1194. <section class="phpdocumentor-description"></section>
  1195. </article>
  1196. <article
  1197. class="
  1198. phpdocumentor-element
  1199. -property
  1200. -protected
  1201. "
  1202. >
  1203. <h4 class="phpdocumentor-element__name" id="property_logoSpaceWidth">
  1204. $logoSpaceWidth
  1205. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_logoSpaceWidth" class="headerlink"><i class="fas fa-link"></i></a>
  1206. <span class="phpdocumentor-element__modifiers">
  1207. </span>
  1208. </h4>
  1209. <aside class="phpdocumentor-element-found-in">
  1210. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1211. :
  1212. <span class="phpdocumentor-element-found-in__line">326</span>
  1213. </aside>
  1214. <p class="phpdocumentor-summary">width of the logo space</p>
  1215. <code class="phpdocumentor-code phpdocumentor-signature ">
  1216. <span class="phpdocumentor-signature__visibility">protected</span>
  1217. <span class="phpdocumentor-signature__type">int</span>
  1218. <span class="phpdocumentor-signature__name">$logoSpaceWidth</span>
  1219. = <span class="phpdocumentor-signature__default-value">0</span></code>
  1220. <section class="phpdocumentor-description"></section>
  1221. </article>
  1222. <article
  1223. class="
  1224. phpdocumentor-element
  1225. -property
  1226. -protected
  1227. "
  1228. >
  1229. <h4 class="phpdocumentor-element__name" id="property_markupDark">
  1230. $markupDark
  1231. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupDark" class="headerlink"><i class="fas fa-link"></i></a>
  1232. <span class="phpdocumentor-element__modifiers">
  1233. </span>
  1234. </h4>
  1235. <aside class="phpdocumentor-element-found-in">
  1236. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1237. :
  1238. <span class="phpdocumentor-element-found-in__line">204</span>
  1239. </aside>
  1240. <p class="phpdocumentor-summary">markup substitute for dark (CSS value)</p>
  1241. <code class="phpdocumentor-code phpdocumentor-signature ">
  1242. <span class="phpdocumentor-signature__visibility">protected</span>
  1243. <span class="phpdocumentor-signature__type">string</span>
  1244. <span class="phpdocumentor-signature__name">$markupDark</span>
  1245. = <span class="phpdocumentor-signature__default-value">&#039;#000&#039;</span></code>
  1246. <section class="phpdocumentor-description"></section>
  1247. </article>
  1248. <article
  1249. class="
  1250. phpdocumentor-element
  1251. -property
  1252. -protected
  1253. "
  1254. >
  1255. <h4 class="phpdocumentor-element__name" id="property_markupLight">
  1256. $markupLight
  1257. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_markupLight" class="headerlink"><i class="fas fa-link"></i></a>
  1258. <span class="phpdocumentor-element__modifiers">
  1259. </span>
  1260. </h4>
  1261. <aside class="phpdocumentor-element-found-in">
  1262. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1263. :
  1264. <span class="phpdocumentor-element-found-in__line">209</span>
  1265. </aside>
  1266. <p class="phpdocumentor-summary">markup substitute for light (CSS value)</p>
  1267. <code class="phpdocumentor-code phpdocumentor-signature ">
  1268. <span class="phpdocumentor-signature__visibility">protected</span>
  1269. <span class="phpdocumentor-signature__type">string</span>
  1270. <span class="phpdocumentor-signature__name">$markupLight</span>
  1271. = <span class="phpdocumentor-signature__default-value">&#039;#fff&#039;</span></code>
  1272. <section class="phpdocumentor-description"></section>
  1273. </article>
  1274. <article
  1275. class="
  1276. phpdocumentor-element
  1277. -property
  1278. -protected
  1279. "
  1280. >
  1281. <h4 class="phpdocumentor-element__name" id="property_maskPattern">
  1282. $maskPattern
  1283. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1284. <span class="phpdocumentor-element__modifiers">
  1285. </span>
  1286. </h4>
  1287. <aside class="phpdocumentor-element-found-in">
  1288. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1289. :
  1290. <span class="phpdocumentor-element-found-in__line">60</span>
  1291. </aside>
  1292. <p class="phpdocumentor-summary">Mask Pattern to use (no value in using, mostly for unit testing purposes)</p>
  1293. <code class="phpdocumentor-code phpdocumentor-signature ">
  1294. <span class="phpdocumentor-signature__visibility">protected</span>
  1295. <span class="phpdocumentor-signature__type">int</span>
  1296. <span class="phpdocumentor-signature__name">$maskPattern</span>
  1297. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\MaskPattern::AUTO</span></code>
  1298. <section class="phpdocumentor-description"><p>[0...7] or MaskPattern::PATTERN_AUTO</p>
  1299. </section>
  1300. <section class="phpdocumentor-description"></section>
  1301. </article>
  1302. <article
  1303. class="
  1304. phpdocumentor-element
  1305. -property
  1306. -protected
  1307. "
  1308. >
  1309. <h4 class="phpdocumentor-element__name" id="property_moduleValues">
  1310. $moduleValues
  1311. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_moduleValues" class="headerlink"><i class="fas fa-link"></i></a>
  1312. <span class="phpdocumentor-element__modifiers">
  1313. </span>
  1314. </h4>
  1315. <aside class="phpdocumentor-element-found-in">
  1316. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1317. :
  1318. <span class="phpdocumentor-element-found-in__line">299</span>
  1319. </aside>
  1320. <p class="phpdocumentor-summary">Module values map</p>
  1321. <code class="phpdocumentor-code phpdocumentor-signature ">
  1322. <span class="phpdocumentor-signature__visibility">protected</span>
  1323. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;|null</span>
  1324. <span class="phpdocumentor-signature__name">$moduleValues</span>
  1325. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1326. <section class="phpdocumentor-description"><ul>
  1327. <li>HTML, IMAGICK: #ABCDEF, cssname, rgb(), rgba()...</li>
  1328. <li>IMAGE: [63, 127, 255] // R, G, B</li>
  1329. </ul>
  1330. </section>
  1331. <section class="phpdocumentor-description"></section>
  1332. </article>
  1333. <article
  1334. class="
  1335. phpdocumentor-element
  1336. -property
  1337. -protected
  1338. "
  1339. >
  1340. <h4 class="phpdocumentor-element__name" id="property_outputInterface">
  1341. $outputInterface
  1342. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  1343. <span class="phpdocumentor-element__modifiers">
  1344. </span>
  1345. </h4>
  1346. <aside class="phpdocumentor-element-found-in">
  1347. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1348. :
  1349. <span class="phpdocumentor-element-found-in__line">92</span>
  1350. </aside>
  1351. <p class="phpdocumentor-summary">the FQCN of the custom QROutputInterface if $outputType is set to QRCode::OUTPUT_CUSTOM</p>
  1352. <code class="phpdocumentor-code phpdocumentor-signature ">
  1353. <span class="phpdocumentor-signature__visibility">protected</span>
  1354. <span class="phpdocumentor-signature__type">string|null</span>
  1355. <span class="phpdocumentor-signature__name">$outputInterface</span>
  1356. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1357. <section class="phpdocumentor-description"></section>
  1358. </article>
  1359. <article
  1360. class="
  1361. phpdocumentor-element
  1362. -property
  1363. -protected
  1364. "
  1365. >
  1366. <h4 class="phpdocumentor-element__name" id="property_outputType">
  1367. $outputType
  1368. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_outputType" class="headerlink"><i class="fas fa-link"></i></a>
  1369. <span class="phpdocumentor-element__modifiers">
  1370. </span>
  1371. </h4>
  1372. <aside class="phpdocumentor-element-found-in">
  1373. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1374. :
  1375. <span class="phpdocumentor-element-found-in__line">87</span>
  1376. </aside>
  1377. <p class="phpdocumentor-summary">The output type</p>
  1378. <code class="phpdocumentor-code phpdocumentor-signature ">
  1379. <span class="phpdocumentor-signature__visibility">protected</span>
  1380. <span class="phpdocumentor-signature__type">string</span>
  1381. <span class="phpdocumentor-signature__name">$outputType</span>
  1382. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Output\QROutputInterface::MARKUP_SVG</span></code>
  1383. <section class="phpdocumentor-description"><ul>
  1384. <li>QROutputInterface::MARKUP_XXXX where XXXX = HTML, SVG</li>
  1385. <li>QROutputInterface::GDIMAGE_XXX where XXX = PNG, GIF, JPG</li>
  1386. <li>QROutputInterface::STRING_XXXX where XXXX = TEXT, JSON</li>
  1387. <li>QROutputInterface::IMAGICK</li>
  1388. <li>QROutputInterface::EPS</li>
  1389. <li>QROutputInterface::FPDF</li>
  1390. <li>QROutputInterface::CUSTOM</li>
  1391. </ul>
  1392. </section>
  1393. <section class="phpdocumentor-description"></section>
  1394. </article>
  1395. <article
  1396. class="
  1397. phpdocumentor-element
  1398. -property
  1399. -protected
  1400. "
  1401. >
  1402. <h4 class="phpdocumentor-element__name" id="property_pngCompression">
  1403. $pngCompression
  1404. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_pngCompression" class="headerlink"><i class="fas fa-link"></i></a>
  1405. <span class="phpdocumentor-element__modifiers">
  1406. </span>
  1407. </h4>
  1408. <aside class="phpdocumentor-element-found-in">
  1409. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1410. :
  1411. <span class="phpdocumentor-element-found-in__line">264</span>
  1412. </aside>
  1413. <code class="phpdocumentor-code phpdocumentor-signature ">
  1414. <span class="phpdocumentor-signature__visibility">protected</span>
  1415. <span class="phpdocumentor-signature__type">int</span>
  1416. <span class="phpdocumentor-signature__name">$pngCompression</span>
  1417. = <span class="phpdocumentor-signature__default-value">-1</span></code>
  1418. <section class="phpdocumentor-description"></section>
  1419. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1420. Tags
  1421. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1422. </h5>
  1423. <dl class="phpdocumentor-tag-list">
  1424. <dt class="phpdocumentor-tag-list__entry">
  1425. <span class="phpdocumentor-tag__name">see</span>
  1426. </dt>
  1427. <dd class="phpdocumentor-tag-list__definition">
  1428. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCode\imagepng()">imagepng()</abbr></span>
  1429. </dd>
  1430. </dl>
  1431. </article>
  1432. <article
  1433. class="
  1434. phpdocumentor-element
  1435. -property
  1436. -protected
  1437. "
  1438. >
  1439. <h4 class="phpdocumentor-element__name" id="property_quietzoneSize">
  1440. $quietzoneSize
  1441. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_quietzoneSize" class="headerlink"><i class="fas fa-link"></i></a>
  1442. <span class="phpdocumentor-element__modifiers">
  1443. </span>
  1444. </h4>
  1445. <aside class="phpdocumentor-element-found-in">
  1446. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1447. :
  1448. <span class="phpdocumentor-element-found-in__line">74</span>
  1449. </aside>
  1450. <p class="phpdocumentor-summary">Size of the quiet zone</p>
  1451. <code class="phpdocumentor-code phpdocumentor-signature ">
  1452. <span class="phpdocumentor-signature__visibility">protected</span>
  1453. <span class="phpdocumentor-signature__type">int</span>
  1454. <span class="phpdocumentor-signature__name">$quietzoneSize</span>
  1455. = <span class="phpdocumentor-signature__default-value">4</span></code>
  1456. <section class="phpdocumentor-description"><p>internally clamped to [0 ... $moduleCount / 2], defaults to 4 modules</p>
  1457. </section>
  1458. <section class="phpdocumentor-description"></section>
  1459. </article>
  1460. <article
  1461. class="
  1462. phpdocumentor-element
  1463. -property
  1464. -protected
  1465. "
  1466. >
  1467. <h4 class="phpdocumentor-element__name" id="property_readerGrayscale">
  1468. $readerGrayscale
  1469. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_readerGrayscale" class="headerlink"><i class="fas fa-link"></i></a>
  1470. <span class="phpdocumentor-element__modifiers">
  1471. </span>
  1472. </h4>
  1473. <aside class="phpdocumentor-element-found-in">
  1474. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1475. :
  1476. <span class="phpdocumentor-element-found-in__line">309</span>
  1477. </aside>
  1478. <p class="phpdocumentor-summary">grayscale the image before reading</p>
  1479. <code class="phpdocumentor-code phpdocumentor-signature ">
  1480. <span class="phpdocumentor-signature__visibility">protected</span>
  1481. <span class="phpdocumentor-signature__type">bool</span>
  1482. <span class="phpdocumentor-signature__name">$readerGrayscale</span>
  1483. = <span class="phpdocumentor-signature__default-value">false</span></code>
  1484. <section class="phpdocumentor-description"></section>
  1485. </article>
  1486. <article
  1487. class="
  1488. phpdocumentor-element
  1489. -property
  1490. -protected
  1491. "
  1492. >
  1493. <h4 class="phpdocumentor-element__name" id="property_readerIncreaseContrast">
  1494. $readerIncreaseContrast
  1495. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_readerIncreaseContrast" class="headerlink"><i class="fas fa-link"></i></a>
  1496. <span class="phpdocumentor-element__modifiers">
  1497. </span>
  1498. </h4>
  1499. <aside class="phpdocumentor-element-found-in">
  1500. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1501. :
  1502. <span class="phpdocumentor-element-found-in__line">316</span>
  1503. </aside>
  1504. <p class="phpdocumentor-summary">increase the contrast before reading</p>
  1505. <code class="phpdocumentor-code phpdocumentor-signature ">
  1506. <span class="phpdocumentor-signature__visibility">protected</span>
  1507. <span class="phpdocumentor-signature__type">bool</span>
  1508. <span class="phpdocumentor-signature__name">$readerIncreaseContrast</span>
  1509. = <span class="phpdocumentor-signature__default-value">false</span></code>
  1510. <section class="phpdocumentor-description"><p>note that applying contrast works different in GD and Imagick, so mileage may vary</p>
  1511. </section>
  1512. <section class="phpdocumentor-description"></section>
  1513. </article>
  1514. <article
  1515. class="
  1516. phpdocumentor-element
  1517. -property
  1518. -protected
  1519. "
  1520. >
  1521. <h4 class="phpdocumentor-element__name" id="property_readerUseImagickIfAvailable">
  1522. $readerUseImagickIfAvailable
  1523. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_readerUseImagickIfAvailable" class="headerlink"><i class="fas fa-link"></i></a>
  1524. <span class="phpdocumentor-element__modifiers">
  1525. </span>
  1526. </h4>
  1527. <aside class="phpdocumentor-element-found-in">
  1528. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1529. :
  1530. <span class="phpdocumentor-element-found-in__line">304</span>
  1531. </aside>
  1532. <p class="phpdocumentor-summary">use Imaagick (if available) when reading QR Codes</p>
  1533. <code class="phpdocumentor-code phpdocumentor-signature ">
  1534. <span class="phpdocumentor-signature__visibility">protected</span>
  1535. <span class="phpdocumentor-signature__type">bool</span>
  1536. <span class="phpdocumentor-signature__name">$readerUseImagickIfAvailable</span>
  1537. = <span class="phpdocumentor-signature__default-value">false</span></code>
  1538. <section class="phpdocumentor-description"></section>
  1539. </article>
  1540. <article
  1541. class="
  1542. phpdocumentor-element
  1543. -property
  1544. -protected
  1545. "
  1546. >
  1547. <h4 class="phpdocumentor-element__name" id="property_returnResource">
  1548. $returnResource
  1549. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_returnResource" class="headerlink"><i class="fas fa-link"></i></a>
  1550. <span class="phpdocumentor-element__modifiers">
  1551. </span>
  1552. </h4>
  1553. <aside class="phpdocumentor-element-found-in">
  1554. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1555. :
  1556. <span class="phpdocumentor-element-found-in__line">225</span>
  1557. </aside>
  1558. <p class="phpdocumentor-summary">Return the image resource instead of a render if applicable.</p>
  1559. <code class="phpdocumentor-code phpdocumentor-signature ">
  1560. <span class="phpdocumentor-signature__visibility">protected</span>
  1561. <span class="phpdocumentor-signature__type">bool</span>
  1562. <span class="phpdocumentor-signature__name">$returnResource</span>
  1563. = <span class="phpdocumentor-signature__default-value">false</span></code>
  1564. <section class="phpdocumentor-description"><p>This option overrides other output options, such as $cachefile and $imageBase64.</p>
  1565. <p>Supported by the following modules:</p>
  1566. <ul>
  1567. <li>QRImage: resource (PHP &lt; 8), GdImage</li>
  1568. <li>QRImagick: Imagick</li>
  1569. <li>QRFpdf: FPDF</li>
  1570. </ul>
  1571. </section>
  1572. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1573. Tags
  1574. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1575. </h5>
  1576. <dl class="phpdocumentor-tag-list">
  1577. <dt class="phpdocumentor-tag-list__entry">
  1578. <span class="phpdocumentor-tag__name">see</span>
  1579. </dt>
  1580. <dd class="phpdocumentor-tag-list__definition">
  1581. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html#method_dump"><abbr title="\chillerlan\QRCode\Output\QROutputInterface::dump()">QROutputInterface::dump()</abbr></a></span>
  1582. </dd>
  1583. </dl>
  1584. </article>
  1585. <article
  1586. class="
  1587. phpdocumentor-element
  1588. -property
  1589. -protected
  1590. "
  1591. >
  1592. <h4 class="phpdocumentor-element__name" id="property_scale">
  1593. $scale
  1594. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_scale" class="headerlink"><i class="fas fa-link"></i></a>
  1595. <span class="phpdocumentor-element__modifiers">
  1596. </span>
  1597. </h4>
  1598. <aside class="phpdocumentor-element-found-in">
  1599. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1600. :
  1601. <span class="phpdocumentor-element-found-in__line">107</span>
  1602. </aside>
  1603. <p class="phpdocumentor-summary">size of a QR code pixel [SVG, IMAGE_*], HTML via CSS</p>
  1604. <code class="phpdocumentor-code phpdocumentor-signature ">
  1605. <span class="phpdocumentor-signature__visibility">protected</span>
  1606. <span class="phpdocumentor-signature__type">int</span>
  1607. <span class="phpdocumentor-signature__name">$scale</span>
  1608. = <span class="phpdocumentor-signature__default-value">5</span></code>
  1609. <section class="phpdocumentor-description"></section>
  1610. </article>
  1611. <article
  1612. class="
  1613. phpdocumentor-element
  1614. -property
  1615. -protected
  1616. "
  1617. >
  1618. <h4 class="phpdocumentor-element__name" id="property_svgDefs">
  1619. $svgDefs
  1620. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgDefs" class="headerlink"><i class="fas fa-link"></i></a>
  1621. <span class="phpdocumentor-element__modifiers">
  1622. </span>
  1623. </h4>
  1624. <aside class="phpdocumentor-element-found-in">
  1625. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1626. :
  1627. <span class="phpdocumentor-element-found-in__line">124</span>
  1628. </aside>
  1629. <p class="phpdocumentor-summary">anything between &lt;defs&gt;</p>
  1630. <code class="phpdocumentor-code phpdocumentor-signature ">
  1631. <span class="phpdocumentor-signature__visibility">protected</span>
  1632. <span class="phpdocumentor-signature__type">string</span>
  1633. <span class="phpdocumentor-signature__name">$svgDefs</span>
  1634. = <span class="phpdocumentor-signature__default-value">&#039;&#039;</span></code>
  1635. <section class="phpdocumentor-description"></section>
  1636. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1637. Tags
  1638. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1639. </h5>
  1640. <dl class="phpdocumentor-tag-list">
  1641. <dt class="phpdocumentor-tag-list__entry">
  1642. <span class="phpdocumentor-tag__name">see</span>
  1643. </dt>
  1644. <dd class="phpdocumentor-tag-list__definition">
  1645. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs"><abbr title="https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs">https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs</abbr></a></span>
  1646. </dd>
  1647. </dl>
  1648. </article>
  1649. <article
  1650. class="
  1651. phpdocumentor-element
  1652. -property
  1653. -protected
  1654. "
  1655. >
  1656. <h4 class="phpdocumentor-element__name" id="property_svgHeight">
  1657. $svgHeight
  1658. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgHeight" class="headerlink"><i class="fas fa-link"></i></a>
  1659. <span class="phpdocumentor-element__modifiers">
  1660. </span>
  1661. </h4>
  1662. <aside class="phpdocumentor-element-found-in">
  1663. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1664. :
  1665. <span class="phpdocumentor-element-found-in__line">153</span>
  1666. </aside>
  1667. <p class="phpdocumentor-summary">optional &quot;height&quot; attribute with the specified value (note that the value is not checked!)</p>
  1668. <code class="phpdocumentor-code phpdocumentor-signature ">
  1669. <span class="phpdocumentor-signature__visibility">protected</span>
  1670. <span class="phpdocumentor-signature__type">string|null</span>
  1671. <span class="phpdocumentor-signature__name">$svgHeight</span>
  1672. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1673. <section class="phpdocumentor-description"></section>
  1674. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1675. Tags
  1676. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1677. </h5>
  1678. <dl class="phpdocumentor-tag-list">
  1679. <dt class="phpdocumentor-tag-list__entry">
  1680. <span class="phpdocumentor-tag__name">see</span>
  1681. </dt>
  1682. <dd class="phpdocumentor-tag-list__definition">
  1683. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/height"><abbr title="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/height">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/height</abbr></a></span>
  1684. </dd>
  1685. </dl>
  1686. </article>
  1687. <article
  1688. class="
  1689. phpdocumentor-element
  1690. -property
  1691. -protected
  1692. "
  1693. >
  1694. <h4 class="phpdocumentor-element__name" id="property_svgOpacity">
  1695. $svgOpacity
  1696. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgOpacity" class="headerlink"><i class="fas fa-link"></i></a>
  1697. <span class="phpdocumentor-element__modifiers">
  1698. </span>
  1699. </h4>
  1700. <aside class="phpdocumentor-element-found-in">
  1701. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1702. :
  1703. <span class="phpdocumentor-element-found-in__line">117</span>
  1704. </aside>
  1705. <p class="phpdocumentor-summary">SVG opacity</p>
  1706. <code class="phpdocumentor-code phpdocumentor-signature ">
  1707. <span class="phpdocumentor-signature__visibility">protected</span>
  1708. <span class="phpdocumentor-signature__type">float</span>
  1709. <span class="phpdocumentor-signature__name">$svgOpacity</span>
  1710. = <span class="phpdocumentor-signature__default-value">1.0</span></code>
  1711. <section class="phpdocumentor-description"></section>
  1712. </article>
  1713. <article
  1714. class="
  1715. phpdocumentor-element
  1716. -property
  1717. -protected
  1718. "
  1719. >
  1720. <h4 class="phpdocumentor-element__name" id="property_svgPreserveAspectRatio">
  1721. $svgPreserveAspectRatio
  1722. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgPreserveAspectRatio" class="headerlink"><i class="fas fa-link"></i></a>
  1723. <span class="phpdocumentor-element__modifiers">
  1724. </span>
  1725. </h4>
  1726. <aside class="phpdocumentor-element-found-in">
  1727. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1728. :
  1729. <span class="phpdocumentor-element-found-in__line">139</span>
  1730. </aside>
  1731. <code class="phpdocumentor-code phpdocumentor-signature ">
  1732. <span class="phpdocumentor-signature__visibility">protected</span>
  1733. <span class="phpdocumentor-signature__type">string</span>
  1734. <span class="phpdocumentor-signature__name">$svgPreserveAspectRatio</span>
  1735. = <span class="phpdocumentor-signature__default-value">&#039;xMidYMid&#039;</span></code>
  1736. <section class="phpdocumentor-description"></section>
  1737. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1738. Tags
  1739. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1740. </h5>
  1741. <dl class="phpdocumentor-tag-list">
  1742. <dt class="phpdocumentor-tag-list__entry">
  1743. <span class="phpdocumentor-tag__name">see</span>
  1744. </dt>
  1745. <dd class="phpdocumentor-tag-list__definition">
  1746. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio"><abbr title="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio</abbr></a></span>
  1747. </dd>
  1748. </dl>
  1749. </article>
  1750. <article
  1751. class="
  1752. phpdocumentor-element
  1753. -property
  1754. -protected
  1755. "
  1756. >
  1757. <h4 class="phpdocumentor-element__name" id="property_svgViewBoxSize">
  1758. $svgViewBoxSize
  1759. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgViewBoxSize" class="headerlink"><i class="fas fa-link"></i></a>
  1760. <span class="phpdocumentor-element__modifiers">
  1761. </span>
  1762. </h4>
  1763. <aside class="phpdocumentor-element-found-in">
  1764. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1765. :
  1766. <span class="phpdocumentor-element-found-in__line">134</span>
  1767. </aside>
  1768. <p class="phpdocumentor-summary">SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.</p>
  1769. <code class="phpdocumentor-code phpdocumentor-signature ">
  1770. <span class="phpdocumentor-signature__visibility">protected</span>
  1771. <span class="phpdocumentor-signature__type">int|null</span>
  1772. <span class="phpdocumentor-signature__name">$svgViewBoxSize</span>
  1773. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1774. <section class="phpdocumentor-description"><p>viewBox=&quot;0 0 x x&quot;</p>
  1775. </section>
  1776. <section class="phpdocumentor-description"></section>
  1777. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1778. Tags
  1779. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1780. </h5>
  1781. <dl class="phpdocumentor-tag-list">
  1782. <dt class="phpdocumentor-tag-list__entry">
  1783. <span class="phpdocumentor-tag__name">see</span>
  1784. </dt>
  1785. <dd class="phpdocumentor-tag-list__definition">
  1786. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox"><abbr title="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox</abbr></a></span>
  1787. </dd>
  1788. <dt class="phpdocumentor-tag-list__entry">
  1789. <span class="phpdocumentor-tag__name">see</span>
  1790. </dt>
  1791. <dd class="phpdocumentor-tag-list__definition">
  1792. <span class="phpdocumentor-tag-link"><a href="https://css-tricks.com/scale-svg/#article-header-id-3"><abbr title="https://css-tricks.com/scale-svg/#article-header-id-3">https://css-tricks.com/scale-svg/#article-header-id-3</abbr></a></span>
  1793. </dd>
  1794. </dl>
  1795. </article>
  1796. <article
  1797. class="
  1798. phpdocumentor-element
  1799. -property
  1800. -protected
  1801. "
  1802. >
  1803. <h4 class="phpdocumentor-element__name" id="property_svgWidth">
  1804. $svgWidth
  1805. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_svgWidth" class="headerlink"><i class="fas fa-link"></i></a>
  1806. <span class="phpdocumentor-element__modifiers">
  1807. </span>
  1808. </h4>
  1809. <aside class="phpdocumentor-element-found-in">
  1810. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1811. :
  1812. <span class="phpdocumentor-element-found-in__line">146</span>
  1813. </aside>
  1814. <p class="phpdocumentor-summary">optional &quot;width&quot; attribute with the specified value (note that the value is not checked!)</p>
  1815. <code class="phpdocumentor-code phpdocumentor-signature ">
  1816. <span class="phpdocumentor-signature__visibility">protected</span>
  1817. <span class="phpdocumentor-signature__type">string|null</span>
  1818. <span class="phpdocumentor-signature__name">$svgWidth</span>
  1819. = <span class="phpdocumentor-signature__default-value">null</span></code>
  1820. <section class="phpdocumentor-description"></section>
  1821. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1822. Tags
  1823. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1824. </h5>
  1825. <dl class="phpdocumentor-tag-list">
  1826. <dt class="phpdocumentor-tag-list__entry">
  1827. <span class="phpdocumentor-tag__name">see</span>
  1828. </dt>
  1829. <dd class="phpdocumentor-tag-list__definition">
  1830. <span class="phpdocumentor-tag-link"><a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/width"><abbr title="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/width">https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/width</abbr></a></span>
  1831. </dd>
  1832. </dl>
  1833. </article>
  1834. <article
  1835. class="
  1836. phpdocumentor-element
  1837. -property
  1838. -protected
  1839. "
  1840. >
  1841. <h4 class="phpdocumentor-element__name" id="property_textDark">
  1842. $textDark
  1843. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textDark" class="headerlink"><i class="fas fa-link"></i></a>
  1844. <span class="phpdocumentor-element__modifiers">
  1845. </span>
  1846. </h4>
  1847. <aside class="phpdocumentor-element-found-in">
  1848. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1849. :
  1850. <span class="phpdocumentor-element-found-in__line">194</span>
  1851. </aside>
  1852. <p class="phpdocumentor-summary">string substitute for dark</p>
  1853. <code class="phpdocumentor-code phpdocumentor-signature ">
  1854. <span class="phpdocumentor-signature__visibility">protected</span>
  1855. <span class="phpdocumentor-signature__type">string</span>
  1856. <span class="phpdocumentor-signature__name">$textDark</span>
  1857. = <span class="phpdocumentor-signature__default-value">&#039;🔴&#039;</span></code>
  1858. <section class="phpdocumentor-description"></section>
  1859. </article>
  1860. <article
  1861. class="
  1862. phpdocumentor-element
  1863. -property
  1864. -protected
  1865. "
  1866. >
  1867. <h4 class="phpdocumentor-element__name" id="property_textLight">
  1868. $textLight
  1869. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_textLight" class="headerlink"><i class="fas fa-link"></i></a>
  1870. <span class="phpdocumentor-element__modifiers">
  1871. </span>
  1872. </h4>
  1873. <aside class="phpdocumentor-element-found-in">
  1874. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1875. :
  1876. <span class="phpdocumentor-element-found-in__line">199</span>
  1877. </aside>
  1878. <p class="phpdocumentor-summary">string substitute for light</p>
  1879. <code class="phpdocumentor-code phpdocumentor-signature ">
  1880. <span class="phpdocumentor-signature__visibility">protected</span>
  1881. <span class="phpdocumentor-signature__type">string</span>
  1882. <span class="phpdocumentor-signature__name">$textLight</span>
  1883. = <span class="phpdocumentor-signature__default-value">&#039;⭕&#039;</span></code>
  1884. <section class="phpdocumentor-description"></section>
  1885. </article>
  1886. <article
  1887. class="
  1888. phpdocumentor-element
  1889. -property
  1890. -protected
  1891. "
  1892. >
  1893. <h4 class="phpdocumentor-element__name" id="property_version">
  1894. $version
  1895. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_version" class="headerlink"><i class="fas fa-link"></i></a>
  1896. <span class="phpdocumentor-element__modifiers">
  1897. </span>
  1898. </h4>
  1899. <aside class="phpdocumentor-element-found-in">
  1900. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1901. :
  1902. <span class="phpdocumentor-element-found-in__line">29</span>
  1903. </aside>
  1904. <p class="phpdocumentor-summary">QR Code version number</p>
  1905. <code class="phpdocumentor-code phpdocumentor-signature ">
  1906. <span class="phpdocumentor-signature__visibility">protected</span>
  1907. <span class="phpdocumentor-signature__type">int</span>
  1908. <span class="phpdocumentor-signature__name">$version</span>
  1909. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\Version::AUTO</span></code>
  1910. <section class="phpdocumentor-description"><p>[1 ... 40] or Version::AUTO</p>
  1911. </section>
  1912. <section class="phpdocumentor-description"></section>
  1913. </article>
  1914. <article
  1915. class="
  1916. phpdocumentor-element
  1917. -property
  1918. -protected
  1919. "
  1920. >
  1921. <h4 class="phpdocumentor-element__name" id="property_versionMax">
  1922. $versionMax
  1923. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMax" class="headerlink"><i class="fas fa-link"></i></a>
  1924. <span class="phpdocumentor-element__modifiers">
  1925. </span>
  1926. </h4>
  1927. <aside class="phpdocumentor-element-found-in">
  1928. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1929. :
  1930. <span class="phpdocumentor-element-found-in__line">41</span>
  1931. </aside>
  1932. <p class="phpdocumentor-summary">Maximum QR version</p>
  1933. <code class="phpdocumentor-code phpdocumentor-signature ">
  1934. <span class="phpdocumentor-signature__visibility">protected</span>
  1935. <span class="phpdocumentor-signature__type">int</span>
  1936. <span class="phpdocumentor-signature__name">$versionMax</span>
  1937. = <span class="phpdocumentor-signature__default-value">40</span></code>
  1938. <section class="phpdocumentor-description"></section>
  1939. </article>
  1940. <article
  1941. class="
  1942. phpdocumentor-element
  1943. -property
  1944. -protected
  1945. "
  1946. >
  1947. <h4 class="phpdocumentor-element__name" id="property_versionMin">
  1948. $versionMin
  1949. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#property_versionMin" class="headerlink"><i class="fas fa-link"></i></a>
  1950. <span class="phpdocumentor-element__modifiers">
  1951. </span>
  1952. </h4>
  1953. <aside class="phpdocumentor-element-found-in">
  1954. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1955. :
  1956. <span class="phpdocumentor-element-found-in__line">36</span>
  1957. </aside>
  1958. <p class="phpdocumentor-summary">Minimum QR version</p>
  1959. <code class="phpdocumentor-code phpdocumentor-signature ">
  1960. <span class="phpdocumentor-signature__visibility">protected</span>
  1961. <span class="phpdocumentor-signature__type">int</span>
  1962. <span class="phpdocumentor-signature__name">$versionMin</span>
  1963. = <span class="phpdocumentor-signature__default-value">1</span></code>
  1964. <section class="phpdocumentor-description"><p>if $version = QRCode::VERSION_AUTO</p>
  1965. </section>
  1966. <section class="phpdocumentor-description"></section>
  1967. </article>
  1968. </section>
  1969. <section class="phpdocumentor-methods">
  1970. <h3 class="phpdocumentor-elements__header" id="methods">
  1971. Methods
  1972. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  1973. </h3>
  1974. <article
  1975. class="phpdocumentor-element
  1976. -method
  1977. -protected
  1978. "
  1979. >
  1980. <h4 class="phpdocumentor-element__name" id="method_clampLogoSpaceValue">
  1981. clampLogoSpaceValue()
  1982. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_clampLogoSpaceValue" class="headerlink"><i class="fas fa-link"></i></a>
  1983. </h4>
  1984. <aside class="phpdocumentor-element-found-in">
  1985. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  1986. :
  1987. <span class="phpdocumentor-element-found-in__line">465</span>
  1988. </aside>
  1989. <p class="phpdocumentor-summary">clamp the logo space values between 0 and maximum length (177 modules at version 40)</p>
  1990. <code class="phpdocumentor-code phpdocumentor-signature ">
  1991. <span class="phpdocumentor-signature__visibility">protected</span>
  1992. <span class="phpdocumentor-signature__name">clampLogoSpaceValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  1993. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1994. <dl class="phpdocumentor-argument-list">
  1995. <dt class="phpdocumentor-argument-list__entry">
  1996. <span class="phpdocumentor-signature__argument__name">$value</span>
  1997. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  1998. </dt>
  1999. <dd class="phpdocumentor-argument-list__definition">
  2000. <section class="phpdocumentor-description"></section>
  2001. </dd>
  2002. </dl>
  2003. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2004. <span class="phpdocumentor-signature__response_type">int</span>
  2005. &mdash;
  2006. </article>
  2007. <article
  2008. class="phpdocumentor-element
  2009. -method
  2010. -protected
  2011. "
  2012. >
  2013. <h4 class="phpdocumentor-element__name" id="method_set_circleRadius">
  2014. set_circleRadius()
  2015. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_circleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  2016. </h4>
  2017. <aside class="phpdocumentor-element-found-in">
  2018. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2019. :
  2020. <span class="phpdocumentor-element-found-in__line">500</span>
  2021. </aside>
  2022. <p class="phpdocumentor-summary">clamp/set SVG circle radius</p>
  2023. <code class="phpdocumentor-code phpdocumentor-signature ">
  2024. <span class="phpdocumentor-signature__visibility">protected</span>
  2025. <span class="phpdocumentor-signature__name">set_circleRadius</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$circleRadius</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2026. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2027. <dl class="phpdocumentor-argument-list">
  2028. <dt class="phpdocumentor-argument-list__entry">
  2029. <span class="phpdocumentor-signature__argument__name">$circleRadius</span>
  2030. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  2031. </dt>
  2032. <dd class="phpdocumentor-argument-list__definition">
  2033. <section class="phpdocumentor-description"></section>
  2034. </dd>
  2035. </dl>
  2036. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2037. <span class="phpdocumentor-signature__response_type">void</span>
  2038. &mdash;
  2039. </article>
  2040. <article
  2041. class="phpdocumentor-element
  2042. -method
  2043. -protected
  2044. "
  2045. >
  2046. <h4 class="phpdocumentor-element__name" id="method_set_eccLevel">
  2047. set_eccLevel()
  2048. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  2049. </h4>
  2050. <aside class="phpdocumentor-element-found-in">
  2051. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2052. :
  2053. <span class="phpdocumentor-element-found-in__line">380</span>
  2054. </aside>
  2055. <p class="phpdocumentor-summary">sets the error correction level</p>
  2056. <code class="phpdocumentor-code phpdocumentor-signature ">
  2057. <span class="phpdocumentor-signature__visibility">protected</span>
  2058. <span class="phpdocumentor-signature__name">set_eccLevel</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2059. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2060. <dl class="phpdocumentor-argument-list">
  2061. <dt class="phpdocumentor-argument-list__entry">
  2062. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  2063. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2064. </dt>
  2065. <dd class="phpdocumentor-argument-list__definition">
  2066. <section class="phpdocumentor-description"></section>
  2067. </dd>
  2068. </dl>
  2069. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2070. Tags
  2071. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2072. </h5>
  2073. <dl class="phpdocumentor-tag-list">
  2074. <dt class="phpdocumentor-tag-list__entry">
  2075. <span class="phpdocumentor-tag__name">throws</span>
  2076. </dt>
  2077. <dd class="phpdocumentor-tag-list__definition">
  2078. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  2079. </dd>
  2080. </dl>
  2081. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2082. <span class="phpdocumentor-signature__response_type">void</span>
  2083. &mdash;
  2084. </article>
  2085. <article
  2086. class="phpdocumentor-element
  2087. -method
  2088. -protected
  2089. "
  2090. >
  2091. <h4 class="phpdocumentor-element__name" id="method_set_fpdfMeasureUnit">
  2092. set_fpdfMeasureUnit()
  2093. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_fpdfMeasureUnit" class="headerlink"><i class="fas fa-link"></i></a>
  2094. </h4>
  2095. <aside class="phpdocumentor-element-found-in">
  2096. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2097. :
  2098. <span class="phpdocumentor-element-found-in__line">445</span>
  2099. </aside>
  2100. <p class="phpdocumentor-summary">sets the FPDF measurement unit</p>
  2101. <code class="phpdocumentor-code phpdocumentor-signature ">
  2102. <span class="phpdocumentor-signature__visibility">protected</span>
  2103. <span class="phpdocumentor-signature__name">set_fpdfMeasureUnit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$unit</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2104. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2105. <dl class="phpdocumentor-argument-list">
  2106. <dt class="phpdocumentor-argument-list__entry">
  2107. <span class="phpdocumentor-signature__argument__name">$unit</span>
  2108. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  2109. </dt>
  2110. <dd class="phpdocumentor-argument-list__definition">
  2111. <section class="phpdocumentor-description"></section>
  2112. </dd>
  2113. </dl>
  2114. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2115. Tags
  2116. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2117. </h5>
  2118. <dl class="phpdocumentor-tag-list">
  2119. <dt class="phpdocumentor-tag-list__entry">
  2120. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  2121. </dt>
  2122. <dd class="phpdocumentor-tag-list__definition">
  2123. </dd>
  2124. </dl>
  2125. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2126. <span class="phpdocumentor-signature__response_type">void</span>
  2127. &mdash;
  2128. </article>
  2129. <article
  2130. class="phpdocumentor-element
  2131. -method
  2132. -protected
  2133. "
  2134. >
  2135. <h4 class="phpdocumentor-element__name" id="method_set_imageTransparencyBG">
  2136. set_imageTransparencyBG()
  2137. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_imageTransparencyBG" class="headerlink"><i class="fas fa-link"></i></a>
  2138. </h4>
  2139. <aside class="phpdocumentor-element-found-in">
  2140. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2141. :
  2142. <span class="phpdocumentor-element-found-in__line">412</span>
  2143. </aside>
  2144. <p class="phpdocumentor-summary">sets the transparency background color</p>
  2145. <code class="phpdocumentor-code phpdocumentor-signature ">
  2146. <span class="phpdocumentor-signature__visibility">protected</span>
  2147. <span class="phpdocumentor-signature__name">set_imageTransparencyBG</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$imageTransparencyBG</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2148. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2149. <dl class="phpdocumentor-argument-list">
  2150. <dt class="phpdocumentor-argument-list__entry">
  2151. <span class="phpdocumentor-signature__argument__name">$imageTransparencyBG</span>
  2152. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  2153. </dt>
  2154. <dd class="phpdocumentor-argument-list__definition">
  2155. <section class="phpdocumentor-description"></section>
  2156. </dd>
  2157. </dl>
  2158. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  2159. Tags
  2160. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  2161. </h5>
  2162. <dl class="phpdocumentor-tag-list">
  2163. <dt class="phpdocumentor-tag-list__entry">
  2164. <span class="phpdocumentor-tag__name">throws</span>
  2165. </dt>
  2166. <dd class="phpdocumentor-tag-list__definition">
  2167. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  2168. </dd>
  2169. </dl>
  2170. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2171. <span class="phpdocumentor-signature__response_type">void</span>
  2172. &mdash;
  2173. </article>
  2174. <article
  2175. class="phpdocumentor-element
  2176. -method
  2177. -protected
  2178. "
  2179. >
  2180. <h4 class="phpdocumentor-element__name" id="method_set_logoSpaceHeight">
  2181. set_logoSpaceHeight()
  2182. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceHeight" class="headerlink"><i class="fas fa-link"></i></a>
  2183. </h4>
  2184. <aside class="phpdocumentor-element-found-in">
  2185. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2186. :
  2187. <span class="phpdocumentor-element-found-in__line">479</span>
  2188. </aside>
  2189. <p class="phpdocumentor-summary">clamp/set logo space height</p>
  2190. <code class="phpdocumentor-code phpdocumentor-signature ">
  2191. <span class="phpdocumentor-signature__visibility">protected</span>
  2192. <span class="phpdocumentor-signature__name">set_logoSpaceHeight</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2193. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2194. <dl class="phpdocumentor-argument-list">
  2195. <dt class="phpdocumentor-argument-list__entry">
  2196. <span class="phpdocumentor-signature__argument__name">$value</span>
  2197. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2198. </dt>
  2199. <dd class="phpdocumentor-argument-list__definition">
  2200. <section class="phpdocumentor-description"></section>
  2201. </dd>
  2202. </dl>
  2203. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2204. <span class="phpdocumentor-signature__response_type">void</span>
  2205. &mdash;
  2206. </article>
  2207. <article
  2208. class="phpdocumentor-element
  2209. -method
  2210. -protected
  2211. "
  2212. >
  2213. <h4 class="phpdocumentor-element__name" id="method_set_logoSpaceStartX">
  2214. set_logoSpaceStartX()
  2215. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceStartX" class="headerlink"><i class="fas fa-link"></i></a>
  2216. </h4>
  2217. <aside class="phpdocumentor-element-found-in">
  2218. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2219. :
  2220. <span class="phpdocumentor-element-found-in__line">486</span>
  2221. </aside>
  2222. <p class="phpdocumentor-summary">clamp/set horizontal logo space start</p>
  2223. <code class="phpdocumentor-code phpdocumentor-signature ">
  2224. <span class="phpdocumentor-signature__visibility">protected</span>
  2225. <span class="phpdocumentor-signature__name">set_logoSpaceStartX</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2226. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2227. <dl class="phpdocumentor-argument-list">
  2228. <dt class="phpdocumentor-argument-list__entry">
  2229. <span class="phpdocumentor-signature__argument__name">$value</span>
  2230. : <span class="phpdocumentor-signature__argument__return-type">int|null</span>
  2231. </dt>
  2232. <dd class="phpdocumentor-argument-list__definition">
  2233. <section class="phpdocumentor-description"></section>
  2234. </dd>
  2235. </dl>
  2236. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2237. <span class="phpdocumentor-signature__response_type">void</span>
  2238. &mdash;
  2239. </article>
  2240. <article
  2241. class="phpdocumentor-element
  2242. -method
  2243. -protected
  2244. "
  2245. >
  2246. <h4 class="phpdocumentor-element__name" id="method_set_logoSpaceStartY">
  2247. set_logoSpaceStartY()
  2248. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceStartY" class="headerlink"><i class="fas fa-link"></i></a>
  2249. </h4>
  2250. <aside class="phpdocumentor-element-found-in">
  2251. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2252. :
  2253. <span class="phpdocumentor-element-found-in__line">493</span>
  2254. </aside>
  2255. <p class="phpdocumentor-summary">clamp/set vertical logo space start</p>
  2256. <code class="phpdocumentor-code phpdocumentor-signature ">
  2257. <span class="phpdocumentor-signature__visibility">protected</span>
  2258. <span class="phpdocumentor-signature__name">set_logoSpaceStartY</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2259. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2260. <dl class="phpdocumentor-argument-list">
  2261. <dt class="phpdocumentor-argument-list__entry">
  2262. <span class="phpdocumentor-signature__argument__name">$value</span>
  2263. : <span class="phpdocumentor-signature__argument__return-type">int|null</span>
  2264. </dt>
  2265. <dd class="phpdocumentor-argument-list__definition">
  2266. <section class="phpdocumentor-description"></section>
  2267. </dd>
  2268. </dl>
  2269. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2270. <span class="phpdocumentor-signature__response_type">void</span>
  2271. &mdash;
  2272. </article>
  2273. <article
  2274. class="phpdocumentor-element
  2275. -method
  2276. -protected
  2277. "
  2278. >
  2279. <h4 class="phpdocumentor-element__name" id="method_set_logoSpaceWidth">
  2280. set_logoSpaceWidth()
  2281. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_logoSpaceWidth" class="headerlink"><i class="fas fa-link"></i></a>
  2282. </h4>
  2283. <aside class="phpdocumentor-element-found-in">
  2284. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2285. :
  2286. <span class="phpdocumentor-element-found-in__line">472</span>
  2287. </aside>
  2288. <p class="phpdocumentor-summary">clamp/set logo space width</p>
  2289. <code class="phpdocumentor-code phpdocumentor-signature ">
  2290. <span class="phpdocumentor-signature__visibility">protected</span>
  2291. <span class="phpdocumentor-signature__name">set_logoSpaceWidth</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2292. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2293. <dl class="phpdocumentor-argument-list">
  2294. <dt class="phpdocumentor-argument-list__entry">
  2295. <span class="phpdocumentor-signature__argument__name">$value</span>
  2296. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2297. </dt>
  2298. <dd class="phpdocumentor-argument-list__definition">
  2299. <section class="phpdocumentor-description"></section>
  2300. </dd>
  2301. </dl>
  2302. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2303. <span class="phpdocumentor-signature__response_type">void</span>
  2304. &mdash;
  2305. </article>
  2306. <article
  2307. class="phpdocumentor-element
  2308. -method
  2309. -protected
  2310. "
  2311. >
  2312. <h4 class="phpdocumentor-element__name" id="method_set_maskPattern">
  2313. set_maskPattern()
  2314. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  2315. </h4>
  2316. <aside class="phpdocumentor-element-found-in">
  2317. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2318. :
  2319. <span class="phpdocumentor-element-found-in__line">392</span>
  2320. </aside>
  2321. <p class="phpdocumentor-summary">sets/clamps the mask pattern</p>
  2322. <code class="phpdocumentor-code phpdocumentor-signature ">
  2323. <span class="phpdocumentor-signature__visibility">protected</span>
  2324. <span class="phpdocumentor-signature__name">set_maskPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$maskPattern</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2325. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2326. <dl class="phpdocumentor-argument-list">
  2327. <dt class="phpdocumentor-argument-list__entry">
  2328. <span class="phpdocumentor-signature__argument__name">$maskPattern</span>
  2329. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2330. </dt>
  2331. <dd class="phpdocumentor-argument-list__definition">
  2332. <section class="phpdocumentor-description"></section>
  2333. </dd>
  2334. </dl>
  2335. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2336. <span class="phpdocumentor-signature__response_type">void</span>
  2337. &mdash;
  2338. </article>
  2339. <article
  2340. class="phpdocumentor-element
  2341. -method
  2342. -protected
  2343. "
  2344. >
  2345. <h4 class="phpdocumentor-element__name" id="method_set_quietzoneSize">
  2346. set_quietzoneSize()
  2347. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_quietzoneSize" class="headerlink"><i class="fas fa-link"></i></a>
  2348. </h4>
  2349. <aside class="phpdocumentor-element-found-in">
  2350. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2351. :
  2352. <span class="phpdocumentor-element-found-in__line">403</span>
  2353. </aside>
  2354. <p class="phpdocumentor-summary">sets/clamps the quiet zone size</p>
  2355. <code class="phpdocumentor-code phpdocumentor-signature ">
  2356. <span class="phpdocumentor-signature__visibility">protected</span>
  2357. <span class="phpdocumentor-signature__name">set_quietzoneSize</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$quietzoneSize</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2358. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2359. <dl class="phpdocumentor-argument-list">
  2360. <dt class="phpdocumentor-argument-list__entry">
  2361. <span class="phpdocumentor-signature__argument__name">$quietzoneSize</span>
  2362. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2363. </dt>
  2364. <dd class="phpdocumentor-argument-list__definition">
  2365. <section class="phpdocumentor-description"></section>
  2366. </dd>
  2367. </dl>
  2368. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2369. <span class="phpdocumentor-signature__response_type">void</span>
  2370. &mdash;
  2371. </article>
  2372. <article
  2373. class="phpdocumentor-element
  2374. -method
  2375. -protected
  2376. "
  2377. >
  2378. <h4 class="phpdocumentor-element__name" id="method_set_readerUseImagickIfAvailable">
  2379. set_readerUseImagickIfAvailable()
  2380. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_readerUseImagickIfAvailable" class="headerlink"><i class="fas fa-link"></i></a>
  2381. </h4>
  2382. <aside class="phpdocumentor-element-found-in">
  2383. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2384. :
  2385. <span class="phpdocumentor-element-found-in__line">458</span>
  2386. </aside>
  2387. <p class="phpdocumentor-summary">enables Imagick for the QR Code reader if the extension is available</p>
  2388. <code class="phpdocumentor-code phpdocumentor-signature ">
  2389. <span class="phpdocumentor-signature__visibility">protected</span>
  2390. <span class="phpdocumentor-signature__name">set_readerUseImagickIfAvailable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$useImagickIfAvailable</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2391. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2392. <dl class="phpdocumentor-argument-list">
  2393. <dt class="phpdocumentor-argument-list__entry">
  2394. <span class="phpdocumentor-signature__argument__name">$useImagickIfAvailable</span>
  2395. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  2396. </dt>
  2397. <dd class="phpdocumentor-argument-list__definition">
  2398. <section class="phpdocumentor-description"></section>
  2399. </dd>
  2400. </dl>
  2401. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2402. <span class="phpdocumentor-signature__response_type">void</span>
  2403. &mdash;
  2404. </article>
  2405. <article
  2406. class="phpdocumentor-element
  2407. -method
  2408. -protected
  2409. "
  2410. >
  2411. <h4 class="phpdocumentor-element__name" id="method_set_version">
  2412. set_version()
  2413. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_version" class="headerlink"><i class="fas fa-link"></i></a>
  2414. </h4>
  2415. <aside class="phpdocumentor-element-found-in">
  2416. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2417. :
  2418. <span class="phpdocumentor-element-found-in__line">371</span>
  2419. </aside>
  2420. <p class="phpdocumentor-summary">sets/clamps the version number</p>
  2421. <code class="phpdocumentor-code phpdocumentor-signature ">
  2422. <span class="phpdocumentor-signature__visibility">protected</span>
  2423. <span class="phpdocumentor-signature__name">set_version</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2424. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2425. <dl class="phpdocumentor-argument-list">
  2426. <dt class="phpdocumentor-argument-list__entry">
  2427. <span class="phpdocumentor-signature__argument__name">$version</span>
  2428. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2429. </dt>
  2430. <dd class="phpdocumentor-argument-list__definition">
  2431. <section class="phpdocumentor-description"></section>
  2432. </dd>
  2433. </dl>
  2434. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2435. <span class="phpdocumentor-signature__response_type">void</span>
  2436. &mdash;
  2437. </article>
  2438. <article
  2439. class="phpdocumentor-element
  2440. -method
  2441. -protected
  2442. "
  2443. >
  2444. <h4 class="phpdocumentor-element__name" id="method_set_versionMax">
  2445. set_versionMax()
  2446. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMax" class="headerlink"><i class="fas fa-link"></i></a>
  2447. </h4>
  2448. <aside class="phpdocumentor-element-found-in">
  2449. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2450. :
  2451. <span class="phpdocumentor-element-found-in__line">364</span>
  2452. </aside>
  2453. <p class="phpdocumentor-summary">sets the maximum version number</p>
  2454. <code class="phpdocumentor-code phpdocumentor-signature ">
  2455. <span class="phpdocumentor-signature__visibility">protected</span>
  2456. <span class="phpdocumentor-signature__name">set_versionMax</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2457. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2458. <dl class="phpdocumentor-argument-list">
  2459. <dt class="phpdocumentor-argument-list__entry">
  2460. <span class="phpdocumentor-signature__argument__name">$version</span>
  2461. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2462. </dt>
  2463. <dd class="phpdocumentor-argument-list__definition">
  2464. <section class="phpdocumentor-description"></section>
  2465. </dd>
  2466. </dl>
  2467. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2468. <span class="phpdocumentor-signature__response_type">void</span>
  2469. &mdash;
  2470. </article>
  2471. <article
  2472. class="phpdocumentor-element
  2473. -method
  2474. -protected
  2475. "
  2476. >
  2477. <h4 class="phpdocumentor-element__name" id="method_set_versionMin">
  2478. set_versionMin()
  2479. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_set_versionMin" class="headerlink"><i class="fas fa-link"></i></a>
  2480. </h4>
  2481. <aside class="phpdocumentor-element-found-in">
  2482. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2483. :
  2484. <span class="phpdocumentor-element-found-in__line">357</span>
  2485. </aside>
  2486. <p class="phpdocumentor-summary">sets the minimum version number</p>
  2487. <code class="phpdocumentor-code phpdocumentor-signature ">
  2488. <span class="phpdocumentor-signature__visibility">protected</span>
  2489. <span class="phpdocumentor-signature__name">set_versionMin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2490. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2491. <dl class="phpdocumentor-argument-list">
  2492. <dt class="phpdocumentor-argument-list__entry">
  2493. <span class="phpdocumentor-signature__argument__name">$version</span>
  2494. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2495. </dt>
  2496. <dd class="phpdocumentor-argument-list__definition">
  2497. <section class="phpdocumentor-description"></section>
  2498. </dd>
  2499. </dl>
  2500. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2501. <span class="phpdocumentor-signature__response_type">void</span>
  2502. &mdash;
  2503. </article>
  2504. <article
  2505. class="phpdocumentor-element
  2506. -method
  2507. -protected
  2508. "
  2509. >
  2510. <h4 class="phpdocumentor-element__name" id="method_setMinMaxVersion">
  2511. setMinMaxVersion()
  2512. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#method_setMinMaxVersion" class="headerlink"><i class="fas fa-link"></i></a>
  2513. </h4>
  2514. <aside class="phpdocumentor-element-found-in">
  2515. <abbr class="phpdocumentor-element-found-in__file" title="src/QROptionsTrait.php"><a href="files/src-qroptionstrait.html"><abbr title="src/QROptionsTrait.php">QROptionsTrait.php</abbr></a></abbr>
  2516. :
  2517. <span class="phpdocumentor-element-found-in__line">346</span>
  2518. </aside>
  2519. <p class="phpdocumentor-summary">clamp min/max version number</p>
  2520. <code class="phpdocumentor-code phpdocumentor-signature ">
  2521. <span class="phpdocumentor-signature__visibility">protected</span>
  2522. <span class="phpdocumentor-signature__name">setMinMaxVersion</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionMin</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">$versionMax</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  2523. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  2524. <dl class="phpdocumentor-argument-list">
  2525. <dt class="phpdocumentor-argument-list__entry">
  2526. <span class="phpdocumentor-signature__argument__name">$versionMin</span>
  2527. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2528. </dt>
  2529. <dd class="phpdocumentor-argument-list__definition">
  2530. <section class="phpdocumentor-description"></section>
  2531. </dd>
  2532. <dt class="phpdocumentor-argument-list__entry">
  2533. <span class="phpdocumentor-signature__argument__name">$versionMax</span>
  2534. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  2535. </dt>
  2536. <dd class="phpdocumentor-argument-list__definition">
  2537. <section class="phpdocumentor-description"></section>
  2538. </dd>
  2539. </dl>
  2540. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  2541. <span class="phpdocumentor-signature__response_type">void</span>
  2542. &mdash;
  2543. </article>
  2544. </section>
  2545. <script type="text/javascript">
  2546. function loadExternalCodeSnippets(line) {
  2547. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  2548. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  2549. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  2550. var language = 'php';
  2551. var code = document.createElement('code');
  2552. code.className = 'language-' + language;
  2553. pre.textContent = '';
  2554. pre.setAttribute('data-line', line)
  2555. code.textContent = 'Loading…';
  2556. pre.appendChild(code);
  2557. var xhr = new XMLHttpRequest();
  2558. xhr.open('GET', src, true);
  2559. xhr.onreadystatechange = function () {
  2560. if (xhr.readyState == 4) {
  2561. if (xhr.status < 400 && xhr.responseText) {
  2562. code.textContent = xhr.responseText;
  2563. Prism.highlightElement(code);
  2564. }
  2565. else if (xhr.status >= 400) {
  2566. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  2567. }
  2568. else {
  2569. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  2570. }
  2571. }
  2572. };
  2573. xhr.send(null);
  2574. });
  2575. }
  2576. var modals = document.querySelectorAll("[data-modal]");
  2577. modals.forEach(function (trigger) {
  2578. trigger.addEventListener("click", function (event) {
  2579. //event.preventDefault();
  2580. const modal = document.getElementById(trigger.dataset.modal);
  2581. modal.classList.add("phpdocumentor-modal__open");
  2582. loadExternalCodeSnippets(trigger.dataset.line)
  2583. const exits = modal.querySelectorAll("[data-exit-button]");
  2584. exits.forEach(function (exit) {
  2585. exit.addEventListener("click", function (event) {
  2586. event.preventDefault();
  2587. modal.classList.remove("phpdocumentor-modal__open");
  2588. });
  2589. });
  2590. });
  2591. });
  2592. </script>
  2593. </article>
  2594. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  2595. <section class="phpdocumentor-search-results__dialog">
  2596. <header class="phpdocumentor-search-results__header">
  2597. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  2598. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  2599. </header>
  2600. <section class="phpdocumentor-search-results__body">
  2601. <ul class="phpdocumentor-search-results__entries"></ul>
  2602. </section>
  2603. </section>
  2604. </section>
  2605. </div>
  2606. </div>
  2607. <a href="classes/chillerlan-QRCode-QROptionsTrait.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  2608. </main>
  2609. <script>
  2610. cssVars({});
  2611. </script>
  2612. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  2613. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  2614. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  2615. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  2616. </body>
  2617. </html>