chillerlan-QRCode-Detector-ResultPoint.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  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-detector.html">Detector</a></li>
  108. </ul>
  109. <article class="phpdocumentor-element -class">
  110. <h2 class="phpdocumentor-content__title">
  111. ResultPoint
  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. </h2>
  119. <div class="phpdocumentor-label-line">
  120. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Abstract</span><span>Yes</span></div>
  121. </div>
  122. <aside class="phpdocumentor-element-found-in">
  123. <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>
  124. :
  125. <span class="phpdocumentor-element-found-in__line">22</span>
  126. </aside>
  127. <p class="phpdocumentor-summary">Encapsulates a point of interest in an image containing a barcode. Typically, this
  128. would be the location of a finder pattern or the corner of the barcode, for example.</p>
  129. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  130. Tags
  131. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  132. </h5>
  133. <dl class="phpdocumentor-tag-list">
  134. <dt class="phpdocumentor-tag-list__entry">
  135. <span class="phpdocumentor-tag__name">author</span>
  136. </dt>
  137. <dd class="phpdocumentor-tag-list__definition">
  138. <section class="phpdocumentor-description"><p>Sean Owen</p>
  139. </section>
  140. </dd>
  141. </dl>
  142. <h3 id="toc">
  143. Table of Contents
  144. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  145. </h3>
  146. <h4 id="toc-properties">
  147. Properties
  148. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  149. </h4>
  150. <dl class="phpdocumentor-table-of-contents">
  151. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  152. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_estimatedModuleSize">$estimatedModuleSize</a>
  153. <span>
  154. &nbsp;: float </span>
  155. </dt>
  156. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  157. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_x">$x</a>
  158. <span>
  159. &nbsp;: float </span>
  160. </dt>
  161. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  162. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_y">$y</a>
  163. <span>
  164. &nbsp;: float </span>
  165. </dt>
  166. </dl>
  167. <h4 id="toc-methods">
  168. Methods
  169. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  170. </h4>
  171. <dl class="phpdocumentor-table-of-contents">
  172. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  173. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method___construct">__construct()</a>
  174. <span>
  175. &nbsp;: mixed </span>
  176. </dt>
  177. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  178. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_aboutEquals">aboutEquals()</a>
  179. <span>
  180. &nbsp;: bool </span>
  181. </dt>
  182. <dd>Determines if this finder pattern &quot;about equals&quot; a finder pattern at the stated
  183. position and size -- meaning, it is at nearly the same center with nearly the same size.</dd>
  184. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  185. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getEstimatedModuleSize">getEstimatedModuleSize()</a>
  186. <span>
  187. &nbsp;: float </span>
  188. </dt>
  189. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  190. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getX">getX()</a>
  191. <span>
  192. &nbsp;: float </span>
  193. </dt>
  194. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  195. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getY">getY()</a>
  196. <span>
  197. &nbsp;: float </span>
  198. </dt>
  199. </dl>
  200. <section class="phpdocumentor-properties">
  201. <h3 class="phpdocumentor-elements__header" id="properties">
  202. Properties
  203. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  204. </h3>
  205. <article
  206. class="
  207. phpdocumentor-element
  208. -property
  209. -protected
  210. "
  211. >
  212. <h4 class="phpdocumentor-element__name" id="property_estimatedModuleSize">
  213. $estimatedModuleSize
  214. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_estimatedModuleSize" class="headerlink"><i class="fas fa-link"></i></a>
  215. <span class="phpdocumentor-element__modifiers">
  216. </span>
  217. </h4>
  218. <aside class="phpdocumentor-element-found-in">
  219. <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>
  220. :
  221. <span class="phpdocumentor-element-found-in__line">26</span>
  222. </aside>
  223. <code class="phpdocumentor-code phpdocumentor-signature ">
  224. <span class="phpdocumentor-signature__visibility">protected</span>
  225. <span class="phpdocumentor-signature__type">float</span>
  226. <span class="phpdocumentor-signature__name">$estimatedModuleSize</span>
  227. </code>
  228. </article>
  229. <article
  230. class="
  231. phpdocumentor-element
  232. -property
  233. -protected
  234. "
  235. >
  236. <h4 class="phpdocumentor-element__name" id="property_x">
  237. $x
  238. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_x" class="headerlink"><i class="fas fa-link"></i></a>
  239. <span class="phpdocumentor-element__modifiers">
  240. </span>
  241. </h4>
  242. <aside class="phpdocumentor-element-found-in">
  243. <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>
  244. :
  245. <span class="phpdocumentor-element-found-in__line">24</span>
  246. </aside>
  247. <code class="phpdocumentor-code phpdocumentor-signature ">
  248. <span class="phpdocumentor-signature__visibility">protected</span>
  249. <span class="phpdocumentor-signature__type">float</span>
  250. <span class="phpdocumentor-signature__name">$x</span>
  251. </code>
  252. </article>
  253. <article
  254. class="
  255. phpdocumentor-element
  256. -property
  257. -protected
  258. "
  259. >
  260. <h4 class="phpdocumentor-element__name" id="property_y">
  261. $y
  262. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_y" class="headerlink"><i class="fas fa-link"></i></a>
  263. <span class="phpdocumentor-element__modifiers">
  264. </span>
  265. </h4>
  266. <aside class="phpdocumentor-element-found-in">
  267. <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>
  268. :
  269. <span class="phpdocumentor-element-found-in__line">25</span>
  270. </aside>
  271. <code class="phpdocumentor-code phpdocumentor-signature ">
  272. <span class="phpdocumentor-signature__visibility">protected</span>
  273. <span class="phpdocumentor-signature__type">float</span>
  274. <span class="phpdocumentor-signature__name">$y</span>
  275. </code>
  276. </article>
  277. </section>
  278. <section class="phpdocumentor-methods">
  279. <h3 class="phpdocumentor-elements__header" id="methods">
  280. Methods
  281. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  282. </h3>
  283. <article
  284. class="phpdocumentor-element
  285. -method
  286. -public
  287. "
  288. >
  289. <h4 class="phpdocumentor-element__name" id="method___construct">
  290. __construct()
  291. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  292. </h4>
  293. <aside class="phpdocumentor-element-found-in">
  294. <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>
  295. :
  296. <span class="phpdocumentor-element-found-in__line">31</span>
  297. </aside>
  298. <code class="phpdocumentor-code phpdocumentor-signature ">
  299. <span class="phpdocumentor-signature__visibility">public</span>
  300. <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>
  301. <div class="phpdocumentor-label-line">
  302. </div>
  303. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  304. <dl class="phpdocumentor-argument-list">
  305. <dt class="phpdocumentor-argument-list__entry">
  306. <span class="phpdocumentor-signature__argument__name">$x</span>
  307. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  308. </dt>
  309. <dd class="phpdocumentor-argument-list__definition">
  310. </dd>
  311. <dt class="phpdocumentor-argument-list__entry">
  312. <span class="phpdocumentor-signature__argument__name">$y</span>
  313. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  314. </dt>
  315. <dd class="phpdocumentor-argument-list__definition">
  316. </dd>
  317. <dt class="phpdocumentor-argument-list__entry">
  318. <span class="phpdocumentor-signature__argument__name">$estimatedModuleSize</span>
  319. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  320. </dt>
  321. <dd class="phpdocumentor-argument-list__definition">
  322. </dd>
  323. </dl>
  324. </article>
  325. <article
  326. class="phpdocumentor-element
  327. -method
  328. -public
  329. "
  330. >
  331. <h4 class="phpdocumentor-element__name" id="method_aboutEquals">
  332. aboutEquals()
  333. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_aboutEquals" class="headerlink"><i class="fas fa-link"></i></a>
  334. </h4>
  335. <aside class="phpdocumentor-element-found-in">
  336. <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>
  337. :
  338. <span class="phpdocumentor-element-found-in__line">62</span>
  339. </aside>
  340. <p class="phpdocumentor-summary">Determines if this finder pattern &quot;about equals&quot; a finder pattern at the stated
  341. position and size -- meaning, it is at nearly the same center with nearly the same size.</p>
  342. <code class="phpdocumentor-code phpdocumentor-signature ">
  343. <span class="phpdocumentor-signature__visibility">public</span>
  344. <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>
  345. <div class="phpdocumentor-label-line">
  346. </div>
  347. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  348. <dl class="phpdocumentor-argument-list">
  349. <dt class="phpdocumentor-argument-list__entry">
  350. <span class="phpdocumentor-signature__argument__name">$moduleSize</span>
  351. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  352. </dt>
  353. <dd class="phpdocumentor-argument-list__definition">
  354. </dd>
  355. <dt class="phpdocumentor-argument-list__entry">
  356. <span class="phpdocumentor-signature__argument__name">$i</span>
  357. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  358. </dt>
  359. <dd class="phpdocumentor-argument-list__definition">
  360. </dd>
  361. <dt class="phpdocumentor-argument-list__entry">
  362. <span class="phpdocumentor-signature__argument__name">$j</span>
  363. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  364. </dt>
  365. <dd class="phpdocumentor-argument-list__definition">
  366. </dd>
  367. </dl>
  368. <section>
  369. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  370. <span class="phpdocumentor-signature__response_type">bool</span>
  371. </section>
  372. </article>
  373. <article
  374. class="phpdocumentor-element
  375. -method
  376. -public
  377. "
  378. >
  379. <h4 class="phpdocumentor-element__name" id="method_getEstimatedModuleSize">
  380. getEstimatedModuleSize()
  381. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getEstimatedModuleSize" class="headerlink"><i class="fas fa-link"></i></a>
  382. </h4>
  383. <aside class="phpdocumentor-element-found-in">
  384. <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>
  385. :
  386. <span class="phpdocumentor-element-found-in__line">54</span>
  387. </aside>
  388. <code class="phpdocumentor-code phpdocumentor-signature ">
  389. <span class="phpdocumentor-signature__visibility">public</span>
  390. <span class="phpdocumentor-signature__name">getEstimatedModuleSize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
  391. <div class="phpdocumentor-label-line">
  392. </div>
  393. <section>
  394. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  395. <span class="phpdocumentor-signature__response_type">float</span>
  396. </section>
  397. </article>
  398. <article
  399. class="phpdocumentor-element
  400. -method
  401. -public
  402. "
  403. >
  404. <h4 class="phpdocumentor-element__name" id="method_getX">
  405. getX()
  406. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getX" 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">40</span>
  412. </aside>
  413. <code class="phpdocumentor-code phpdocumentor-signature ">
  414. <span class="phpdocumentor-signature__visibility">public</span>
  415. <span class="phpdocumentor-signature__name">getX</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
  416. <div class="phpdocumentor-label-line">
  417. </div>
  418. <section>
  419. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  420. <span class="phpdocumentor-signature__response_type">float</span>
  421. </section>
  422. </article>
  423. <article
  424. class="phpdocumentor-element
  425. -method
  426. -public
  427. "
  428. >
  429. <h4 class="phpdocumentor-element__name" id="method_getY">
  430. getY()
  431. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getY" class="headerlink"><i class="fas fa-link"></i></a>
  432. </h4>
  433. <aside class="phpdocumentor-element-found-in">
  434. <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>
  435. :
  436. <span class="phpdocumentor-element-found-in__line">47</span>
  437. </aside>
  438. <code class="phpdocumentor-code phpdocumentor-signature ">
  439. <span class="phpdocumentor-signature__visibility">public</span>
  440. <span class="phpdocumentor-signature__name">getY</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
  441. <div class="phpdocumentor-label-line">
  442. </div>
  443. <section>
  444. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  445. <span class="phpdocumentor-signature__response_type">float</span>
  446. </section>
  447. </article>
  448. </section>
  449. <div class="phpdocumentor-modal" id="source-view">
  450. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  451. <div class="phpdocumentor-modal-container">
  452. <div class="phpdocumentor-modal-content">
  453. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Detector/ResultPoint.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  454. </div>
  455. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  456. </div>
  457. </div>
  458. <script type="text/javascript">
  459. (function () {
  460. function loadExternalCodeSnippet(el, url, line) {
  461. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  462. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  463. const language = 'php';
  464. const code = document.createElement('code');
  465. code.className = 'language-' + language;
  466. pre.textContent = '';
  467. pre.setAttribute('data-line', line)
  468. code.textContent = 'Loading…';
  469. pre.appendChild(code);
  470. var xhr = new XMLHttpRequest();
  471. xhr.open('GET', src, true);
  472. xhr.onreadystatechange = function () {
  473. if (xhr.readyState !== 4) {
  474. return;
  475. }
  476. if (xhr.status < 400 && xhr.responseText) {
  477. code.textContent = xhr.responseText;
  478. Prism.highlightElement(code);
  479. return;
  480. }
  481. if (xhr.status === 404) {
  482. code.textContent = '✖ Error: File could not be found';
  483. return;
  484. }
  485. if (xhr.status >= 400) {
  486. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  487. return;
  488. }
  489. code.textContent = '✖ Error: An unknown error occurred';
  490. };
  491. xhr.send(null);
  492. });
  493. }
  494. const modalButtons = document.querySelectorAll("[data-modal]");
  495. const openedAsLocalFile = window.location.protocol === 'file:';
  496. if (modalButtons.length > 0 && openedAsLocalFile) {
  497. console.warn(
  498. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  499. 'browsers block XHR requests when a page is opened this way'
  500. );
  501. }
  502. modalButtons.forEach(function (trigger) {
  503. if (openedAsLocalFile) {
  504. trigger.setAttribute("hidden", "hidden");
  505. }
  506. trigger.addEventListener("click", function (event) {
  507. event.preventDefault();
  508. const modal = document.getElementById(trigger.dataset.modal);
  509. if (!modal) {
  510. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  511. return;
  512. }
  513. modal.classList.add("phpdocumentor-modal__open");
  514. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  515. const exits = modal.querySelectorAll("[data-exit-button]");
  516. exits.forEach(function (exit) {
  517. exit.addEventListener("click", function (event) {
  518. event.preventDefault();
  519. modal.classList.remove("phpdocumentor-modal__open");
  520. });
  521. });
  522. });
  523. });
  524. })();
  525. </script>
  526. </article>
  527. </section>
  528. <section class="phpdocumentor-on-this-page__sidebar">
  529. <section class="phpdocumentor-on-this-page__content">
  530. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  531. <ul class="phpdocumentor-list -clean">
  532. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  533. <li>
  534. <ul class="phpdocumentor-list -clean">
  535. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#toc-properties">Properties</a></li>
  536. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#toc-methods">Methods</a></li>
  537. </ul>
  538. </li>
  539. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  540. <li>
  541. <ul class="phpdocumentor-list -clean">
  542. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_estimatedModuleSize">$estimatedModuleSize<a href="classes/chillerlan-QRCode-Detector-ResultPoint.html"></li>
  543. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_x">$x<a href="classes/chillerlan-QRCode-Detector-ResultPoint.html"></li>
  544. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#property_y">$y<a href="classes/chillerlan-QRCode-Detector-ResultPoint.html"></li>
  545. </ul>
  546. </li>
  547. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  548. <li>
  549. <ul class="phpdocumentor-list -clean">
  550. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method___construct">__construct()</a></li>
  551. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_aboutEquals">aboutEquals()</a></li>
  552. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getEstimatedModuleSize">getEstimatedModuleSize()</a></li>
  553. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getX">getX()</a></li>
  554. <li><a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#method_getY">getY()</a></li>
  555. </ul>
  556. </li>
  557. </ul>
  558. </section>
  559. </section>
  560. </div>
  561. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  562. <section class="phpdocumentor-search-results__dialog">
  563. <header class="phpdocumentor-search-results__header">
  564. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  565. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  566. </header>
  567. <section class="phpdocumentor-search-results__body">
  568. <ul class="phpdocumentor-search-results__entries"></ul>
  569. </section>
  570. </section>
  571. </section>
  572. </div>
  573. <a href="classes/chillerlan-QRCode-Detector-ResultPoint.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  574. </main>
  575. <script>
  576. cssVars({});
  577. </script>
  578. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  579. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  580. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  581. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  582. </body>
  583. </html>