chillerlan-QRCode-Common-LuminanceSourceAbstract.html 48 KB

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