chillerlan-QRCode-Common-LuminanceSourceAbstract.html 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047
  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. <h4 class="phpdocumentor-sidebar__root-namespace">
  89. <a href="namespaces/output.html" class="">Output</a>
  90. </h4>
  91. </section>
  92. <section class="phpdocumentor-sidebar__category -packages">
  93. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  94. <h4 class="phpdocumentor-sidebar__root-namespace">
  95. <a href="packages/Application.html" class="">Application</a>
  96. </h4>
  97. </section>
  98. <section class="phpdocumentor-sidebar__category -reports">
  99. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  100. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  101. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  102. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  103. </section>
  104. <section class="phpdocumentor-sidebar__category -indices">
  105. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  106. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  107. </section>
  108. </aside>
  109. <div class="phpdocumentor-column -nine phpdocumentor-content">
  110. <section>
  111. <ul class="phpdocumentor-breadcrumbs">
  112. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  113. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  114. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-common.html">Common</a></li>
  115. </ul>
  116. <article class="phpdocumentor-element -class">
  117. <h2 class="phpdocumentor-content__title">
  118. LuminanceSourceAbstract
  119. <div class="phpdocumentor-element__package">
  120. in package
  121. <ul class="phpdocumentor-breadcrumbs">
  122. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  123. </ul>
  124. </div>
  125. <span class="phpdocumentor-element__implements">
  126. implements
  127. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a> </span>
  128. </h2>
  129. <div class="phpdocumentor-label-line">
  130. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Abstract</span><span>Yes</span></div>
  131. </div>
  132. <aside class="phpdocumentor-element-found-in">
  133. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  134. :
  135. <span class="phpdocumentor-element-found-in__line">26</span>
  136. </aside>
  137. <p class="phpdocumentor-summary">The purpose of this class hierarchy is to abstract different bitmap implementations across
  138. platforms into a standard interface for requesting greyscale luminance values.</p>
  139. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  140. Tags
  141. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  142. </h5>
  143. <dl class="phpdocumentor-tag-list">
  144. <dt class="phpdocumentor-tag-list__entry">
  145. <span class="phpdocumentor-tag__name">author</span>
  146. </dt>
  147. <dd class="phpdocumentor-tag-list__definition">
  148. <section class="phpdocumentor-description"><p>dswitkin@google.com (Daniel Switkin)</p>
  149. </section>
  150. </dd>
  151. </dl>
  152. <h3 id="toc">
  153. Table of Contents
  154. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  155. </h3>
  156. <h4 id="toc-interfaces">
  157. Interfaces
  158. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#toc-interfaces" class="headerlink"><i class="fas fa-link"></i></a>
  159. </h4>
  160. <dl class="phpdocumentor-table-of-contents">
  161. <dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a></dt> </dl>
  162. <h4 id="toc-properties">
  163. Properties
  164. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  165. </h4>
  166. <dl class="phpdocumentor-table-of-contents">
  167. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  168. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_height">$height</a>
  169. <span>
  170. &nbsp;: int </span>
  171. </dt>
  172. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  173. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_luminances">$luminances</a>
  174. <span>
  175. &nbsp;: array&lt;string|int, mixed&gt; </span>
  176. </dt>
  177. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  178. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_options">$options</a>
  179. <span>
  180. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  181. </dt>
  182. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  183. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_width">$width</a>
  184. <span>
  185. &nbsp;: int </span>
  186. </dt>
  187. </dl>
  188. <h4 id="toc-methods">
  189. Methods
  190. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  191. </h4>
  192. <dl class="phpdocumentor-table-of-contents">
  193. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  194. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method___construct">__construct()</a>
  195. <span>
  196. &nbsp;: mixed </span>
  197. </dt>
  198. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  199. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getHeight">getHeight()</a>
  200. <span>
  201. &nbsp;: int </span>
  202. </dt>
  203. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  204. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getLuminances">getLuminances()</a>
  205. <span>
  206. &nbsp;: array&lt;string|int, mixed&gt; </span>
  207. </dt>
  208. <dd>Fetches luminance data for the underlying bitmap. Values should be fetched using:
  209. `int luminance = array[y * width + x] &amp; 0xff`</dd>
  210. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  211. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getRow">getRow()</a>
  212. <span>
  213. &nbsp;: array&lt;string|int, mixed&gt; </span>
  214. </dt>
  215. <dd>Fetches one row of luminance data from the underlying platform&#039;s bitmap. Values range from
  216. 0 (black) to 255 (white). Because Java does not have an unsigned byte type, callers will have
  217. to bitwise and with 0xff for each value. It is preferable for implementations of this method
  218. to only fetch this row rather than the whole image, since no 2D Readers may be installed and
  219. getLuminances() may never be called.</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  221. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getWidth">getWidth()</a>
  222. <span>
  223. &nbsp;: int </span>
  224. </dt>
  225. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  226. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_checkFile">checkFile()</a>
  227. <span>
  228. &nbsp;: string </span>
  229. </dt>
  230. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  231. <a class="" href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_setLuminancePixel">setLuminancePixel()</a>
  232. <span>
  233. &nbsp;: void </span>
  234. </dt>
  235. </dl>
  236. <section class="phpdocumentor-properties">
  237. <h3 class="phpdocumentor-elements__header" id="properties">
  238. Properties
  239. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  240. </h3>
  241. <article
  242. class="
  243. phpdocumentor-element
  244. -property
  245. -protected
  246. "
  247. >
  248. <h4 class="phpdocumentor-element__name" id="property_height">
  249. $height
  250. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_height" class="headerlink"><i class="fas fa-link"></i></a>
  251. <span class="phpdocumentor-element__modifiers">
  252. </span>
  253. </h4>
  254. <aside class="phpdocumentor-element-found-in">
  255. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  256. :
  257. <span class="phpdocumentor-element-found-in__line">31</span>
  258. </aside>
  259. <code class="phpdocumentor-code phpdocumentor-signature ">
  260. <span class="phpdocumentor-signature__visibility">protected</span>
  261. <span class="phpdocumentor-signature__type">int</span>
  262. <span class="phpdocumentor-signature__name">$height</span>
  263. </code>
  264. </article>
  265. <article
  266. class="
  267. phpdocumentor-element
  268. -property
  269. -protected
  270. "
  271. >
  272. <h4 class="phpdocumentor-element__name" id="property_luminances">
  273. $luminances
  274. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_luminances" class="headerlink"><i class="fas fa-link"></i></a>
  275. <span class="phpdocumentor-element__modifiers">
  276. </span>
  277. </h4>
  278. <aside class="phpdocumentor-element-found-in">
  279. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  280. :
  281. <span class="phpdocumentor-element-found-in__line">29</span>
  282. </aside>
  283. <code class="phpdocumentor-code phpdocumentor-signature ">
  284. <span class="phpdocumentor-signature__visibility">protected</span>
  285. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  286. <span class="phpdocumentor-signature__name">$luminances</span>
  287. </code>
  288. </article>
  289. <article
  290. class="
  291. phpdocumentor-element
  292. -property
  293. -protected
  294. "
  295. >
  296. <h4 class="phpdocumentor-element__name" id="property_options">
  297. $options
  298. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  299. <span class="phpdocumentor-element__modifiers">
  300. </span>
  301. </h4>
  302. <aside class="phpdocumentor-element-found-in">
  303. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  304. :
  305. <span class="phpdocumentor-element-found-in__line">28</span>
  306. </aside>
  307. <code class="phpdocumentor-code phpdocumentor-signature ">
  308. <span class="phpdocumentor-signature__visibility">protected</span>
  309. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  310. <span class="phpdocumentor-signature__name">$options</span>
  311. </code>
  312. </article>
  313. <article
  314. class="
  315. phpdocumentor-element
  316. -property
  317. -protected
  318. "
  319. >
  320. <h4 class="phpdocumentor-element__name" id="property_width">
  321. $width
  322. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_width" class="headerlink"><i class="fas fa-link"></i></a>
  323. <span class="phpdocumentor-element__modifiers">
  324. </span>
  325. </h4>
  326. <aside class="phpdocumentor-element-found-in">
  327. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  328. :
  329. <span class="phpdocumentor-element-found-in__line">30</span>
  330. </aside>
  331. <code class="phpdocumentor-code phpdocumentor-signature ">
  332. <span class="phpdocumentor-signature__visibility">protected</span>
  333. <span class="phpdocumentor-signature__type">int</span>
  334. <span class="phpdocumentor-signature__name">$width</span>
  335. </code>
  336. </article>
  337. </section>
  338. <section class="phpdocumentor-methods">
  339. <h3 class="phpdocumentor-elements__header" id="methods">
  340. Methods
  341. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  342. </h3>
  343. <article
  344. class="phpdocumentor-element
  345. -method
  346. -public
  347. "
  348. >
  349. <h4 class="phpdocumentor-element__name" id="method___construct">
  350. __construct()
  351. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  352. </h4>
  353. <aside class="phpdocumentor-element-found-in">
  354. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  355. :
  356. <span class="phpdocumentor-element-found-in__line">36</span>
  357. </aside>
  358. <code class="phpdocumentor-code phpdocumentor-signature ">
  359. <span class="phpdocumentor-signature__visibility">public</span>
  360. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$width</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">$height</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">new QROptions()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  361. <div class="phpdocumentor-label-line">
  362. </div>
  363. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  364. <dl class="phpdocumentor-argument-list">
  365. <dt class="phpdocumentor-argument-list__entry">
  366. <span class="phpdocumentor-signature__argument__name">$width</span>
  367. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  368. </dt>
  369. <dd class="phpdocumentor-argument-list__definition">
  370. </dd>
  371. <dt class="phpdocumentor-argument-list__entry">
  372. <span class="phpdocumentor-signature__argument__name">$height</span>
  373. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  374. </dt>
  375. <dd class="phpdocumentor-argument-list__definition">
  376. </dd>
  377. <dt class="phpdocumentor-argument-list__entry">
  378. <span class="phpdocumentor-signature__argument__name">$options</span>
  379. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  380. = <span class="phpdocumentor-signature__argument__default-value">new QROptions()</span> </dt>
  381. <dd class="phpdocumentor-argument-list__definition">
  382. </dd>
  383. </dl>
  384. </article>
  385. <article
  386. class="phpdocumentor-element
  387. -method
  388. -public
  389. "
  390. >
  391. <h4 class="phpdocumentor-element__name" id="method_getHeight">
  392. getHeight()
  393. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getHeight" class="headerlink"><i class="fas fa-link"></i></a>
  394. </h4>
  395. <aside class="phpdocumentor-element-found-in">
  396. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  397. :
  398. <span class="phpdocumentor-element-found-in__line">55</span>
  399. </aside>
  400. <code class="phpdocumentor-code phpdocumentor-signature ">
  401. <span class="phpdocumentor-signature__visibility">public</span>
  402. <span class="phpdocumentor-signature__name">getHeight</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  403. <div class="phpdocumentor-label-line">
  404. </div>
  405. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  406. Tags
  407. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getHeight#tags" class="headerlink"><i class="fas fa-link"></i></a>
  408. </h5>
  409. <dl class="phpdocumentor-tag-list">
  410. <dt class="phpdocumentor-tag-list__entry">
  411. <span class="phpdocumentor-tag__name">inheritDoc</span>
  412. </dt>
  413. <dd class="phpdocumentor-tag-list__definition">
  414. </dd>
  415. </dl>
  416. <section>
  417. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  418. <span class="phpdocumentor-signature__response_type">int</span>
  419. &mdash;
  420. <section class="phpdocumentor-description"><p>The height of the bitmap.</p>
  421. </section>
  422. </section>
  423. </article>
  424. <article
  425. class="phpdocumentor-element
  426. -method
  427. -public
  428. "
  429. >
  430. <h4 class="phpdocumentor-element__name" id="method_getLuminances">
  431. getLuminances()
  432. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getLuminances" class="headerlink"><i class="fas fa-link"></i></a>
  433. </h4>
  434. <aside class="phpdocumentor-element-found-in">
  435. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  436. :
  437. <span class="phpdocumentor-element-found-in__line">45</span>
  438. </aside>
  439. <p class="phpdocumentor-summary">Fetches luminance data for the underlying bitmap. Values should be fetched using:
  440. `int luminance = array[y * width + x] &amp; 0xff`</p>
  441. <code class="phpdocumentor-code phpdocumentor-signature ">
  442. <span class="phpdocumentor-signature__visibility">public</span>
  443. <span class="phpdocumentor-signature__name">getLuminances</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  444. <div class="phpdocumentor-label-line">
  445. </div>
  446. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  447. Tags
  448. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getLuminances#tags" class="headerlink"><i class="fas fa-link"></i></a>
  449. </h5>
  450. <dl class="phpdocumentor-tag-list">
  451. <dt class="phpdocumentor-tag-list__entry">
  452. <span class="phpdocumentor-tag__name">inheritDoc</span>
  453. </dt>
  454. <dd class="phpdocumentor-tag-list__definition">
  455. </dd>
  456. </dl>
  457. <section>
  458. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  459. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  460. &mdash;
  461. <section class="phpdocumentor-description"><p>A row-major 2D array of luminance values. Do not use result $length as it may be
  462. larger than $width * $height bytes on some platforms. Do not modify the contents
  463. of the result.</p>
  464. </section>
  465. </section>
  466. </article>
  467. <article
  468. class="phpdocumentor-element
  469. -method
  470. -public
  471. "
  472. >
  473. <h4 class="phpdocumentor-element__name" id="method_getRow">
  474. getRow()
  475. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getRow" class="headerlink"><i class="fas fa-link"></i></a>
  476. </h4>
  477. <aside class="phpdocumentor-element-found-in">
  478. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  479. :
  480. <span class="phpdocumentor-element-found-in__line">60</span>
  481. </aside>
  482. <p class="phpdocumentor-summary">Fetches one row of luminance data from the underlying platform&#039;s bitmap. Values range from
  483. 0 (black) to 255 (white). Because Java does not have an unsigned byte type, callers will have
  484. to bitwise and with 0xff for each value. It is preferable for implementations of this method
  485. to only fetch this row rather than the whole image, since no 2D Readers may be installed and
  486. getLuminances() may never be called.</p>
  487. <code class="phpdocumentor-code phpdocumentor-signature ">
  488. <span class="phpdocumentor-signature__visibility">public</span>
  489. <span class="phpdocumentor-signature__name">getRow</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  490. <div class="phpdocumentor-label-line">
  491. </div>
  492. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  493. <dl class="phpdocumentor-argument-list">
  494. <dt class="phpdocumentor-argument-list__entry">
  495. <span class="phpdocumentor-signature__argument__name">$y</span>
  496. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  497. </dt>
  498. <dd class="phpdocumentor-argument-list__definition">
  499. <section class="phpdocumentor-description"><p>The row to fetch, which must be in [0,getHeight())</p>
  500. </section>
  501. </dd>
  502. </dl>
  503. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  504. Tags
  505. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getRow#tags" class="headerlink"><i class="fas fa-link"></i></a>
  506. </h5>
  507. <dl class="phpdocumentor-tag-list">
  508. <dt class="phpdocumentor-tag-list__entry">
  509. <span class="phpdocumentor-tag__name">inheritDoc</span>
  510. </dt>
  511. <dd class="phpdocumentor-tag-list__definition">
  512. </dd>
  513. </dl>
  514. <section>
  515. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  516. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  517. &mdash;
  518. <section class="phpdocumentor-description"><p>An array containing the luminance data.</p>
  519. </section>
  520. </section>
  521. </article>
  522. <article
  523. class="phpdocumentor-element
  524. -method
  525. -public
  526. "
  527. >
  528. <h4 class="phpdocumentor-element__name" id="method_getWidth">
  529. getWidth()
  530. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getWidth" class="headerlink"><i class="fas fa-link"></i></a>
  531. </h4>
  532. <aside class="phpdocumentor-element-found-in">
  533. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  534. :
  535. <span class="phpdocumentor-element-found-in__line">50</span>
  536. </aside>
  537. <code class="phpdocumentor-code phpdocumentor-signature ">
  538. <span class="phpdocumentor-signature__visibility">public</span>
  539. <span class="phpdocumentor-signature__name">getWidth</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  540. <div class="phpdocumentor-label-line">
  541. </div>
  542. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  543. Tags
  544. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getWidth#tags" class="headerlink"><i class="fas fa-link"></i></a>
  545. </h5>
  546. <dl class="phpdocumentor-tag-list">
  547. <dt class="phpdocumentor-tag-list__entry">
  548. <span class="phpdocumentor-tag__name">inheritDoc</span>
  549. </dt>
  550. <dd class="phpdocumentor-tag-list__definition">
  551. </dd>
  552. </dl>
  553. <section>
  554. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  555. <span class="phpdocumentor-signature__response_type">int</span>
  556. &mdash;
  557. <section class="phpdocumentor-description"><p>The width of the bitmap.</p>
  558. </section>
  559. </section>
  560. </article>
  561. <article
  562. class="phpdocumentor-element
  563. -method
  564. -protected
  565. -static "
  566. >
  567. <h4 class="phpdocumentor-element__name" id="method_checkFile">
  568. checkFile()
  569. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_checkFile" class="headerlink"><i class="fas fa-link"></i></a>
  570. </h4>
  571. <aside class="phpdocumentor-element-found-in">
  572. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  573. :
  574. <span class="phpdocumentor-element-found-in__line">87</span>
  575. </aside>
  576. <code class="phpdocumentor-code phpdocumentor-signature ">
  577. <span class="phpdocumentor-signature__visibility">protected</span>
  578. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">checkFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  579. <div class="phpdocumentor-label-line">
  580. </div>
  581. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  582. <dl class="phpdocumentor-argument-list">
  583. <dt class="phpdocumentor-argument-list__entry">
  584. <span class="phpdocumentor-signature__argument__name">$path</span>
  585. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  586. </dt>
  587. <dd class="phpdocumentor-argument-list__definition">
  588. </dd>
  589. </dl>
  590. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  591. Tags
  592. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_checkFile#tags" class="headerlink"><i class="fas fa-link"></i></a>
  593. </h5>
  594. <dl class="phpdocumentor-tag-list">
  595. <dt class="phpdocumentor-tag-list__entry">
  596. <span class="phpdocumentor-tag__name">throws</span>
  597. </dt>
  598. <dd class="phpdocumentor-tag-list__definition">
  599. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  600. </dd>
  601. </dl>
  602. <section>
  603. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  604. <span class="phpdocumentor-signature__response_type">string</span>
  605. </section>
  606. </article>
  607. <article
  608. class="phpdocumentor-element
  609. -method
  610. -protected
  611. "
  612. >
  613. <h4 class="phpdocumentor-element__name" id="method_setLuminancePixel">
  614. setLuminancePixel()
  615. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_setLuminancePixel" class="headerlink"><i class="fas fa-link"></i></a>
  616. </h4>
  617. <aside class="phpdocumentor-element-found-in">
  618. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/LuminanceSourceAbstract.php"><a href="files/src-common-luminancesourceabstract.html"><abbr title="src/Common/LuminanceSourceAbstract.php">LuminanceSourceAbstract.php</abbr></a></abbr>
  619. :
  620. <span class="phpdocumentor-element-found-in__line">76</span>
  621. </aside>
  622. <code class="phpdocumentor-code phpdocumentor-signature ">
  623. <span class="phpdocumentor-signature__visibility">protected</span>
  624. <span class="phpdocumentor-signature__name">setLuminancePixel</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$r</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">$g</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">$b</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  625. <div class="phpdocumentor-label-line">
  626. </div>
  627. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  628. <dl class="phpdocumentor-argument-list">
  629. <dt class="phpdocumentor-argument-list__entry">
  630. <span class="phpdocumentor-signature__argument__name">$r</span>
  631. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  632. </dt>
  633. <dd class="phpdocumentor-argument-list__definition">
  634. </dd>
  635. <dt class="phpdocumentor-argument-list__entry">
  636. <span class="phpdocumentor-signature__argument__name">$g</span>
  637. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  638. </dt>
  639. <dd class="phpdocumentor-argument-list__definition">
  640. </dd>
  641. <dt class="phpdocumentor-argument-list__entry">
  642. <span class="phpdocumentor-signature__argument__name">$b</span>
  643. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  644. </dt>
  645. <dd class="phpdocumentor-argument-list__definition">
  646. </dd>
  647. </dl>
  648. </article>
  649. </section>
  650. <div class="phpdocumentor-modal" id="source-view">
  651. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  652. <div class="phpdocumentor-modal-container">
  653. <div class="phpdocumentor-modal-content">
  654. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Common/LuminanceSourceAbstract.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  655. </div>
  656. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  657. </div>
  658. </div>
  659. <script type="text/javascript">
  660. (function () {
  661. function loadExternalCodeSnippet(el, url, line) {
  662. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  663. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  664. const language = 'php';
  665. const code = document.createElement('code');
  666. code.className = 'language-' + language;
  667. pre.textContent = '';
  668. pre.setAttribute('data-line', line)
  669. code.textContent = 'Loading…';
  670. pre.appendChild(code);
  671. var xhr = new XMLHttpRequest();
  672. xhr.open('GET', src, true);
  673. xhr.onreadystatechange = function () {
  674. if (xhr.readyState !== 4) {
  675. return;
  676. }
  677. if (xhr.status < 400 && xhr.responseText) {
  678. code.textContent = xhr.responseText;
  679. Prism.highlightElement(code);
  680. return;
  681. }
  682. if (xhr.status === 404) {
  683. code.textContent = '✖ Error: File could not be found';
  684. return;
  685. }
  686. if (xhr.status >= 400) {
  687. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  688. return;
  689. }
  690. code.textContent = '✖ Error: An unknown error occurred';
  691. };
  692. xhr.send(null);
  693. });
  694. }
  695. const modalButtons = document.querySelectorAll("[data-modal]");
  696. const openedAsLocalFile = window.location.protocol === 'file:';
  697. if (modalButtons.length > 0 && openedAsLocalFile) {
  698. console.warn(
  699. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  700. 'browsers block XHR requests when a page is opened this way'
  701. );
  702. }
  703. modalButtons.forEach(function (trigger) {
  704. if (openedAsLocalFile) {
  705. trigger.setAttribute("hidden", "hidden");
  706. }
  707. trigger.addEventListener("click", function (event) {
  708. event.preventDefault();
  709. const modal = document.getElementById(trigger.dataset.modal);
  710. if (!modal) {
  711. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  712. return;
  713. }
  714. modal.classList.add("phpdocumentor-modal__open");
  715. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  716. const exits = modal.querySelectorAll("[data-exit-button]");
  717. exits.forEach(function (exit) {
  718. exit.addEventListener("click", function (event) {
  719. event.preventDefault();
  720. modal.classList.remove("phpdocumentor-modal__open");
  721. });
  722. });
  723. });
  724. });
  725. })();
  726. </script>
  727. </article>
  728. </section>
  729. <section class="phpdocumentor-on-this-page__sidebar">
  730. <section class="phpdocumentor-on-this-page__content">
  731. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  732. <ul class="phpdocumentor-list -clean">
  733. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  734. <li>
  735. <ul class="phpdocumentor-list -clean">
  736. <li><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#toc-properties">Properties</a></li>
  737. <li><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#toc-methods">Methods</a></li>
  738. </ul>
  739. </li>
  740. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  741. <li>
  742. <ul class="phpdocumentor-list -clean">
  743. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_height">$height</li>
  744. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_luminances">$luminances</li>
  745. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_options">$options</li>
  746. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#property_width">$width</li>
  747. </ul>
  748. </li>
  749. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  750. <li>
  751. <ul class="phpdocumentor-list -clean">
  752. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method___construct">__construct()</a></li>
  753. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getHeight">getHeight()</a></li>
  754. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getLuminances">getLuminances()</a></li>
  755. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getRow">getRow()</a></li>
  756. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_getWidth">getWidth()</a></li>
  757. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_checkFile">checkFile()</a></li>
  758. <li class=""><a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#method_setLuminancePixel">setLuminancePixel()</a></li>
  759. </ul>
  760. </li>
  761. </ul>
  762. </section>
  763. </section>
  764. </div>
  765. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  766. <section class="phpdocumentor-search-results__dialog">
  767. <header class="phpdocumentor-search-results__header">
  768. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  769. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  770. </header>
  771. <section class="phpdocumentor-search-results__body">
  772. <ul class="phpdocumentor-search-results__entries"></ul>
  773. </section>
  774. </section>
  775. </section>
  776. </div>
  777. <a href="classes/chillerlan-QRCode-Common-LuminanceSourceAbstract.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  778. </main>
  779. <script>
  780. cssVars({});
  781. </script>
  782. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  783. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  784. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  785. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  786. </body>
  787. </html>