chillerlan-QRCode-QROptions.html 143 KB

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