chillerlan-QRCode-Detector-ResultPoint.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace">
  56. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  57. </h4>
  58. <ul class="phpdocumentor-list">
  59. <li>
  60. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  61. </li>
  62. <li>
  63. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  64. </li>
  65. </ul>
  66. </section>
  67. <section class="phpdocumentor-sidebar__category">
  68. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  69. <h4 class="phpdocumentor-sidebar__root-namespace">
  70. <a href="packages/Application.html" class="">Application</a>
  71. </h4>
  72. </section>
  73. <section class="phpdocumentor-sidebar__category">
  74. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  75. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  76. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  78. </section>
  79. <section class="phpdocumentor-sidebar__category">
  80. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  81. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  82. </section>
  83. </aside>
  84. <div class="phpdocumentor-column -eight phpdocumentor-content">
  85. <ul class="phpdocumentor-breadcrumbs">
  86. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  87. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  88. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-detector.html">Detector</a></li>
  89. </ul>
  90. <article class="phpdocumentor-element -class">
  91. <h2 class="phpdocumentor-content__title">
  92. ResultPoint
  93. <div class="phpdocumentor-element__package">
  94. in package
  95. <ul class="phpdocumentor-breadcrumbs">
  96. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  97. </ul>
  98. </div>
  99. </h2>
  100. <aside class="phpdocumentor-element-found-in">
  101. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  102. :
  103. <span class="phpdocumentor-element-found-in__line">22</span>
  104. </aside>
  105. <p class="phpdocumentor-summary">Encapsulates a point of interest in an image containing a barcode. Typically, this
  106. would be the location of a finder pattern or the corner of the barcode, for example.</p>
  107. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  108. Tags
  109. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  110. </h5>
  111. <dl class="phpdocumentor-tag-list">
  112. <dt class="phpdocumentor-tag-list__entry">
  113. <span class="phpdocumentor-tag__name">author</span>
  114. </dt>
  115. <dd class="phpdocumentor-tag-list__definition">
  116. <section class="phpdocumentor-description"><p>Sean Owen</p>
  117. </section>
  118. </dd>
  119. </dl>
  120. <h3 id="toc">
  121. Table of Contents
  122. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  123. </h3>
  124. <dl class="phpdocumentor-table-of-contents">
  125. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  126. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_estimatedModuleSize">$estimatedModuleSize</a>
  127. <span>
  128. &nbsp;: float </span>
  129. </dt>
  130. <dd></dd>
  131. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  132. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_x">$x</a>
  133. <span>
  134. &nbsp;: float </span>
  135. </dt>
  136. <dd></dd>
  137. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  138. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_y">$y</a>
  139. <span>
  140. &nbsp;: float </span>
  141. </dt>
  142. <dd></dd>
  143. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  144. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method___construct">__construct()</a>
  145. <span>
  146. &nbsp;: mixed </span>
  147. </dt>
  148. <dd></dd>
  149. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  150. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_aboutEquals">aboutEquals()</a>
  151. <span>
  152. &nbsp;: bool </span>
  153. </dt>
  154. <dd>Determines if this finder pattern &quot;about equals&quot; a finder pattern at the stated
  155. position and size -- meaning, it is at nearly the same center with nearly the same size.</dd>
  156. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  157. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getEstimatedModuleSize">getEstimatedModuleSize()</a>
  158. <span>
  159. &nbsp;: float </span>
  160. </dt>
  161. <dd></dd>
  162. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  163. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getX">getX()</a>
  164. <span>
  165. &nbsp;: float </span>
  166. </dt>
  167. <dd></dd>
  168. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  169. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getY">getY()</a>
  170. <span>
  171. &nbsp;: float </span>
  172. </dt>
  173. <dd></dd>
  174. </dl>
  175. <section class="phpdocumentor-properties">
  176. <h3 class="phpdocumentor-elements__header" id="properties">
  177. Properties
  178. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  179. </h3>
  180. <article
  181. class="
  182. phpdocumentor-element
  183. -property
  184. -protected
  185. "
  186. >
  187. <h4 class="phpdocumentor-element__name" id="property_estimatedModuleSize">
  188. $estimatedModuleSize
  189. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_estimatedModuleSize" class="headerlink"><i class="fas fa-link"></i></a>
  190. <span class="phpdocumentor-element__modifiers">
  191. </span>
  192. </h4>
  193. <aside class="phpdocumentor-element-found-in">
  194. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  195. :
  196. <span class="phpdocumentor-element-found-in__line">26</span>
  197. </aside>
  198. <code class="phpdocumentor-code phpdocumentor-signature ">
  199. <span class="phpdocumentor-signature__visibility">protected</span>
  200. <span class="phpdocumentor-signature__type">float</span>
  201. <span class="phpdocumentor-signature__name">$estimatedModuleSize</span>
  202. </code>
  203. <section class="phpdocumentor-description"></section>
  204. <section class="phpdocumentor-description"></section>
  205. </article>
  206. <article
  207. class="
  208. phpdocumentor-element
  209. -property
  210. -protected
  211. "
  212. >
  213. <h4 class="phpdocumentor-element__name" id="property_x">
  214. $x
  215. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_x" class="headerlink"><i class="fas fa-link"></i></a>
  216. <span class="phpdocumentor-element__modifiers">
  217. </span>
  218. </h4>
  219. <aside class="phpdocumentor-element-found-in">
  220. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  221. :
  222. <span class="phpdocumentor-element-found-in__line">24</span>
  223. </aside>
  224. <code class="phpdocumentor-code phpdocumentor-signature ">
  225. <span class="phpdocumentor-signature__visibility">protected</span>
  226. <span class="phpdocumentor-signature__type">float</span>
  227. <span class="phpdocumentor-signature__name">$x</span>
  228. </code>
  229. <section class="phpdocumentor-description"></section>
  230. <section class="phpdocumentor-description"></section>
  231. </article>
  232. <article
  233. class="
  234. phpdocumentor-element
  235. -property
  236. -protected
  237. "
  238. >
  239. <h4 class="phpdocumentor-element__name" id="property_y">
  240. $y
  241. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_y" class="headerlink"><i class="fas fa-link"></i></a>
  242. <span class="phpdocumentor-element__modifiers">
  243. </span>
  244. </h4>
  245. <aside class="phpdocumentor-element-found-in">
  246. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  247. :
  248. <span class="phpdocumentor-element-found-in__line">25</span>
  249. </aside>
  250. <code class="phpdocumentor-code phpdocumentor-signature ">
  251. <span class="phpdocumentor-signature__visibility">protected</span>
  252. <span class="phpdocumentor-signature__type">float</span>
  253. <span class="phpdocumentor-signature__name">$y</span>
  254. </code>
  255. <section class="phpdocumentor-description"></section>
  256. <section class="phpdocumentor-description"></section>
  257. </article>
  258. </section>
  259. <section class="phpdocumentor-methods">
  260. <h3 class="phpdocumentor-elements__header" id="methods">
  261. Methods
  262. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  263. </h3>
  264. <article
  265. class="phpdocumentor-element
  266. -method
  267. -public
  268. "
  269. >
  270. <h4 class="phpdocumentor-element__name" id="method___construct">
  271. __construct()
  272. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  273. </h4>
  274. <aside class="phpdocumentor-element-found-in">
  275. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  276. :
  277. <span class="phpdocumentor-element-found-in__line">31</span>
  278. </aside>
  279. <code class="phpdocumentor-code phpdocumentor-signature ">
  280. <span class="phpdocumentor-signature__visibility">public</span>
  281. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$x</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$y</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$estimatedModuleSize</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  282. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  283. <dl class="phpdocumentor-argument-list">
  284. <dt class="phpdocumentor-argument-list__entry">
  285. <span class="phpdocumentor-signature__argument__name">$x</span>
  286. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  287. </dt>
  288. <dd class="phpdocumentor-argument-list__definition">
  289. <section class="phpdocumentor-description"></section>
  290. </dd>
  291. <dt class="phpdocumentor-argument-list__entry">
  292. <span class="phpdocumentor-signature__argument__name">$y</span>
  293. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  294. </dt>
  295. <dd class="phpdocumentor-argument-list__definition">
  296. <section class="phpdocumentor-description"></section>
  297. </dd>
  298. <dt class="phpdocumentor-argument-list__entry">
  299. <span class="phpdocumentor-signature__argument__name">$estimatedModuleSize</span>
  300. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  301. </dt>
  302. <dd class="phpdocumentor-argument-list__definition">
  303. <section class="phpdocumentor-description"></section>
  304. </dd>
  305. </dl>
  306. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  307. <span class="phpdocumentor-signature__response_type">mixed</span>
  308. &mdash;
  309. </article>
  310. <article
  311. class="phpdocumentor-element
  312. -method
  313. -public
  314. "
  315. >
  316. <h4 class="phpdocumentor-element__name" id="method_aboutEquals">
  317. aboutEquals()
  318. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_aboutEquals" class="headerlink"><i class="fas fa-link"></i></a>
  319. </h4>
  320. <aside class="phpdocumentor-element-found-in">
  321. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  322. :
  323. <span class="phpdocumentor-element-found-in__line">62</span>
  324. </aside>
  325. <p class="phpdocumentor-summary">Determines if this finder pattern &quot;about equals&quot; a finder pattern at the stated
  326. position and size -- meaning, it is at nearly the same center with nearly the same size.</p>
  327. <code class="phpdocumentor-code phpdocumentor-signature ">
  328. <span class="phpdocumentor-signature__visibility">public</span>
  329. <span class="phpdocumentor-signature__name">aboutEquals</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$moduleSize</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$i</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$j</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  330. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  331. <dl class="phpdocumentor-argument-list">
  332. <dt class="phpdocumentor-argument-list__entry">
  333. <span class="phpdocumentor-signature__argument__name">$moduleSize</span>
  334. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  335. </dt>
  336. <dd class="phpdocumentor-argument-list__definition">
  337. <section class="phpdocumentor-description"></section>
  338. </dd>
  339. <dt class="phpdocumentor-argument-list__entry">
  340. <span class="phpdocumentor-signature__argument__name">$i</span>
  341. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  342. </dt>
  343. <dd class="phpdocumentor-argument-list__definition">
  344. <section class="phpdocumentor-description"></section>
  345. </dd>
  346. <dt class="phpdocumentor-argument-list__entry">
  347. <span class="phpdocumentor-signature__argument__name">$j</span>
  348. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  349. </dt>
  350. <dd class="phpdocumentor-argument-list__definition">
  351. <section class="phpdocumentor-description"></section>
  352. </dd>
  353. </dl>
  354. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  355. <span class="phpdocumentor-signature__response_type">bool</span>
  356. &mdash;
  357. </article>
  358. <article
  359. class="phpdocumentor-element
  360. -method
  361. -public
  362. "
  363. >
  364. <h4 class="phpdocumentor-element__name" id="method_getEstimatedModuleSize">
  365. getEstimatedModuleSize()
  366. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getEstimatedModuleSize" class="headerlink"><i class="fas fa-link"></i></a>
  367. </h4>
  368. <aside class="phpdocumentor-element-found-in">
  369. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  370. :
  371. <span class="phpdocumentor-element-found-in__line">54</span>
  372. </aside>
  373. <code class="phpdocumentor-code phpdocumentor-signature ">
  374. <span class="phpdocumentor-signature__visibility">public</span>
  375. <span class="phpdocumentor-signature__name">getEstimatedModuleSize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
  376. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  377. <span class="phpdocumentor-signature__response_type">float</span>
  378. &mdash;
  379. </article>
  380. <article
  381. class="phpdocumentor-element
  382. -method
  383. -public
  384. "
  385. >
  386. <h4 class="phpdocumentor-element__name" id="method_getX">
  387. getX()
  388. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getX" class="headerlink"><i class="fas fa-link"></i></a>
  389. </h4>
  390. <aside class="phpdocumentor-element-found-in">
  391. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  392. :
  393. <span class="phpdocumentor-element-found-in__line">40</span>
  394. </aside>
  395. <code class="phpdocumentor-code phpdocumentor-signature ">
  396. <span class="phpdocumentor-signature__visibility">public</span>
  397. <span class="phpdocumentor-signature__name">getX</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
  398. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  399. <span class="phpdocumentor-signature__response_type">float</span>
  400. &mdash;
  401. </article>
  402. <article
  403. class="phpdocumentor-element
  404. -method
  405. -public
  406. "
  407. >
  408. <h4 class="phpdocumentor-element__name" id="method_getY">
  409. getY()
  410. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getY" class="headerlink"><i class="fas fa-link"></i></a>
  411. </h4>
  412. <aside class="phpdocumentor-element-found-in">
  413. <abbr class="phpdocumentor-element-found-in__file" title="src/Detector/ResultPoint.php"><a href="files/src-detector-resultpoint.html"><abbr title="src/Detector/ResultPoint.php">ResultPoint.php</abbr></a></abbr>
  414. :
  415. <span class="phpdocumentor-element-found-in__line">47</span>
  416. </aside>
  417. <code class="phpdocumentor-code phpdocumentor-signature ">
  418. <span class="phpdocumentor-signature__visibility">public</span>
  419. <span class="phpdocumentor-signature__name">getY</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
  420. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  421. <span class="phpdocumentor-signature__response_type">float</span>
  422. &mdash;
  423. </article>
  424. </section>
  425. <script type="text/javascript">
  426. function loadExternalCodeSnippets(line) {
  427. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  428. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  429. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  430. var language = 'php';
  431. var code = document.createElement('code');
  432. code.className = 'language-' + language;
  433. pre.textContent = '';
  434. pre.setAttribute('data-line', line)
  435. code.textContent = 'Loading…';
  436. pre.appendChild(code);
  437. var xhr = new XMLHttpRequest();
  438. xhr.open('GET', src, true);
  439. xhr.onreadystatechange = function () {
  440. if (xhr.readyState == 4) {
  441. if (xhr.status < 400 && xhr.responseText) {
  442. code.textContent = xhr.responseText;
  443. Prism.highlightElement(code);
  444. }
  445. else if (xhr.status >= 400) {
  446. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  447. }
  448. else {
  449. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  450. }
  451. }
  452. };
  453. xhr.send(null);
  454. });
  455. }
  456. var modals = document.querySelectorAll("[data-modal]");
  457. modals.forEach(function (trigger) {
  458. trigger.addEventListener("click", function (event) {
  459. //event.preventDefault();
  460. const modal = document.getElementById(trigger.dataset.modal);
  461. modal.classList.add("phpdocumentor-modal__open");
  462. loadExternalCodeSnippets(trigger.dataset.line)
  463. const exits = modal.querySelectorAll("[data-exit-button]");
  464. exits.forEach(function (exit) {
  465. exit.addEventListener("click", function (event) {
  466. event.preventDefault();
  467. modal.classList.remove("phpdocumentor-modal__open");
  468. });
  469. });
  470. });
  471. });
  472. </script>
  473. </article>
  474. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  475. <section class="phpdocumentor-search-results__dialog">
  476. <header class="phpdocumentor-search-results__header">
  477. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  478. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  479. </header>
  480. <section class="phpdocumentor-search-results__body">
  481. <ul class="phpdocumentor-search-results__entries"></ul>
  482. </section>
  483. </section>
  484. </section>
  485. </div>
  486. </div>
  487. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  488. </main>
  489. <script>
  490. cssVars({});
  491. </script>
  492. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  493. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  494. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  495. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  496. </body>
  497. </html>