chillerlan-QRCode-QROptionsTrait.html 162 KB

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