chillerlan-QRCode-Detector-ResultPoint.html 28 KB

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