chillerlan-QRCode-Detector-ResultPoint.html 34 KB

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