You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

module-StackBlur.html 25 KiB

3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JSDoc: Module: StackBlur</title>
  6. <script src="scripts/prettify/prettify.js"> </script>
  7. <script src="scripts/prettify/lang-css.js"> </script>
  8. <!--[if lt IE 9]>
  9. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
  12. <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">Module: StackBlur</h1>
  17. <section>
  18. <header>
  19. </header>
  20. <article>
  21. <div class="container-overview">
  22. <div class="description"><p>StackBlur - a fast almost Gaussian Blur For Canvas</p>
  23. <p>In case you find this class useful - especially in commercial projects -
  24. I am not totally unhappy for a small donation to my PayPal account
  25. <a href="mailto:mario@quasimondo.de">mario@quasimondo.de</a></p>
  26. <p>Or support me on flattr:
  27. <a href="https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript">https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript</a></p></div>
  28. <dl class="details">
  29. <dt class="tag-version">Version:</dt>
  30. <dd class="tag-version"><ul class="dummy"><li>0.5</li></ul></dd>
  31. <dt class="tag-author">Author:</dt>
  32. <dd class="tag-author">
  33. <ul>
  34. <li>Mario Klingemann
  35. Contact: mario@quasimondo.com
  36. Website: <a href="http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html">http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html</a>
  37. Twitter: @quasimondo</li>
  38. </ul>
  39. </dd>
  40. <dt class="tag-copyright">Copyright:</dt>
  41. <dd class="tag-copyright"><ul class="dummy"><li>(c) 2010 Mario Klingemann
  42. Permission is hereby granted, free of charge, to any person
  43. obtaining a copy of this software and associated documentation
  44. files (the "Software"), to deal in the Software without
  45. restriction, including without limitation the rights to use,
  46. copy, modify, merge, publish, distribute, sublicense, and/or sell
  47. copies of the Software, and to permit persons to whom the
  48. Software is furnished to do so, subject to the following
  49. conditions:
  50. The above copyright notice and this permission notice shall be
  51. included in all copies or substantial portions of the Software.
  52. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  53. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  54. OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  55. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  56. HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  57. WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  58. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  59. OTHER DEALINGS IN THE SOFTWARE.</li></ul></dd>
  60. <dt class="tag-source">Source:</dt>
  61. <dd class="tag-source"><ul class="dummy"><li>
  62. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line1">line 1</a>
  63. </li></ul></dd>
  64. </dl>
  65. </div>
  66. <h3 class="subsection-title">Classes</h3>
  67. <dl>
  68. <dt><a href="module-StackBlur.BlurStack.html">BlurStack</a></dt>
  69. <dd></dd>
  70. </dl>
  71. <h3 class="subsection-title">Methods</h3>
  72. <h4 class="name" id=".canvasRGB"><span class="type-signature">(static) </span>canvasRGB<span class="signature">()</span><span class="type-signature"></span></h4>
  73. <dl class="details">
  74. <dt class="tag-source">Source:</dt>
  75. <dd class="tag-source"><ul class="dummy"><li>
  76. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line640">line 640</a>
  77. </li></ul></dd>
  78. <dt class="tag-see">See:</dt>
  79. <dd class="tag-see">
  80. <ul>
  81. <li><a href="module-StackBlur.html#~processCanvasRGB">module:StackBlur~processCanvasRGB</a></li>
  82. </ul>
  83. </dd>
  84. </dl>
  85. <h4 class="name" id=".canvasRGBA"><span class="type-signature">(static) </span>canvasRGBA<span class="signature">()</span><span class="type-signature"></span></h4>
  86. <dl class="details">
  87. <dt class="tag-source">Source:</dt>
  88. <dd class="tag-source"><ul class="dummy"><li>
  89. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line635">line 635</a>
  90. </li></ul></dd>
  91. <dt class="tag-see">See:</dt>
  92. <dd class="tag-see">
  93. <ul>
  94. <li><a href="module-StackBlur.html#~processCanvasRGBA">module:StackBlur~processCanvasRGBA</a></li>
  95. </ul>
  96. </dd>
  97. </dl>
  98. <h4 class="name" id=".image"><span class="type-signature">(static) </span>image<span class="signature">()</span><span class="type-signature"></span></h4>
  99. <dl class="details">
  100. <dt class="tag-source">Source:</dt>
  101. <dd class="tag-source"><ul class="dummy"><li>
  102. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line630">line 630</a>
  103. </li></ul></dd>
  104. <dt class="tag-see">See:</dt>
  105. <dd class="tag-see">
  106. <ul>
  107. <li><a href="module-StackBlur.html#~processImage">module:StackBlur~processImage</a></li>
  108. </ul>
  109. </dd>
  110. </dl>
  111. <h4 class="name" id=".imageDataRGB"><span class="type-signature">(static) </span>imageDataRGB<span class="signature">()</span><span class="type-signature"></span></h4>
  112. <dl class="details">
  113. <dt class="tag-source">Source:</dt>
  114. <dd class="tag-source"><ul class="dummy"><li>
  115. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line650">line 650</a>
  116. </li></ul></dd>
  117. <dt class="tag-see">See:</dt>
  118. <dd class="tag-see">
  119. <ul>
  120. <li><a href="module-StackBlur.html#~processImageDataRGB">module:StackBlur~processImageDataRGB</a></li>
  121. </ul>
  122. </dd>
  123. </dl>
  124. <h4 class="name" id=".imageDataRGBA"><span class="type-signature">(static) </span>imageDataRGBA<span class="signature">()</span><span class="type-signature"></span></h4>
  125. <dl class="details">
  126. <dt class="tag-source">Source:</dt>
  127. <dd class="tag-source"><ul class="dummy"><li>
  128. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line645">line 645</a>
  129. </li></ul></dd>
  130. <dt class="tag-see">See:</dt>
  131. <dd class="tag-see">
  132. <ul>
  133. <li><a href="module-StackBlur.html#~processImageDataRGBA">module:StackBlur~processImageDataRGBA</a></li>
  134. </ul>
  135. </dd>
  136. </dl>
  137. <h4 class="name" id="~getImageDataFromCanvas"><span class="type-signature">(inner) </span>getImageDataFromCanvas<span class="signature">(canvas, topX, topY, width, height)</span><span class="type-signature"> &rarr; {ImageData}</span></h4>
  138. <h5>Parameters:</h5>
  139. <table class="params">
  140. <thead>
  141. <tr>
  142. <th>Name</th>
  143. <th>Type</th>
  144. <th class="last">Description</th>
  145. </tr>
  146. </thead>
  147. <tbody>
  148. <tr>
  149. <td class="name"><code>canvas</code></td>
  150. <td class="type">
  151. <span class="param-type">string</span>
  152. |
  153. <span class="param-type">HTMLCanvasElement</span>
  154. </td>
  155. <td class="description last"></td>
  156. </tr>
  157. <tr>
  158. <td class="name"><code>topX</code></td>
  159. <td class="type">
  160. <span class="param-type">Integer</span>
  161. </td>
  162. <td class="description last"></td>
  163. </tr>
  164. <tr>
  165. <td class="name"><code>topY</code></td>
  166. <td class="type">
  167. <span class="param-type">Integer</span>
  168. </td>
  169. <td class="description last"></td>
  170. </tr>
  171. <tr>
  172. <td class="name"><code>width</code></td>
  173. <td class="type">
  174. <span class="param-type">Integer</span>
  175. </td>
  176. <td class="description last"></td>
  177. </tr>
  178. <tr>
  179. <td class="name"><code>height</code></td>
  180. <td class="type">
  181. <span class="param-type">Integer</span>
  182. </td>
  183. <td class="description last"></td>
  184. </tr>
  185. </tbody>
  186. </table>
  187. <dl class="details">
  188. <dt class="tag-source">Source:</dt>
  189. <dd class="tag-source"><ul class="dummy"><li>
  190. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line128">line 128</a>
  191. </li></ul></dd>
  192. </dl>
  193. <h5>Throws:</h5>
  194. <div class="param-desc">
  195. <span class="param-type">Error</span>
  196. |
  197. <span class="param-type">TypeError</span>
  198. </div>
  199. <h5>Returns:</h5>
  200. <div class="param-desc">
  201. <p>See <a href="https://html.spec.whatwg.org/multipage/canvas.html#imagedata">https://html.spec.whatwg.org/multipage/canvas.html#imagedata</a></p>
  202. </div>
  203. <dl>
  204. <dt>
  205. Type
  206. </dt>
  207. <dd>
  208. <span class="param-type">ImageData</span>
  209. </dd>
  210. </dl>
  211. <h4 class="name" id="~processCanvasRGB"><span class="type-signature">(inner) </span>processCanvasRGB<span class="signature">(canvas, topX, topY, width, height, radius)</span><span class="type-signature"> &rarr; {undefined}</span></h4>
  212. <h5>Parameters:</h5>
  213. <table class="params">
  214. <thead>
  215. <tr>
  216. <th>Name</th>
  217. <th>Type</th>
  218. <th class="last">Description</th>
  219. </tr>
  220. </thead>
  221. <tbody>
  222. <tr>
  223. <td class="name"><code>canvas</code></td>
  224. <td class="type">
  225. <span class="param-type">HTMLCanvasElement</span>
  226. </td>
  227. <td class="description last"></td>
  228. </tr>
  229. <tr>
  230. <td class="name"><code>topX</code></td>
  231. <td class="type">
  232. <span class="param-type">Integer</span>
  233. </td>
  234. <td class="description last"></td>
  235. </tr>
  236. <tr>
  237. <td class="name"><code>topY</code></td>
  238. <td class="type">
  239. <span class="param-type">Integer</span>
  240. </td>
  241. <td class="description last"></td>
  242. </tr>
  243. <tr>
  244. <td class="name"><code>width</code></td>
  245. <td class="type">
  246. <span class="param-type">Integer</span>
  247. </td>
  248. <td class="description last"></td>
  249. </tr>
  250. <tr>
  251. <td class="name"><code>height</code></td>
  252. <td class="type">
  253. <span class="param-type">Integer</span>
  254. </td>
  255. <td class="description last"></td>
  256. </tr>
  257. <tr>
  258. <td class="name"><code>radius</code></td>
  259. <td class="type">
  260. <span class="param-type">Float</span>
  261. </td>
  262. <td class="description last"></td>
  263. </tr>
  264. </tbody>
  265. </table>
  266. <dl class="details">
  267. <dt class="tag-source">Source:</dt>
  268. <dd class="tag-source"><ul class="dummy"><li>
  269. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line406">line 406</a>
  270. </li></ul></dd>
  271. </dl>
  272. <h5>Returns:</h5>
  273. <dl>
  274. <dt>
  275. Type
  276. </dt>
  277. <dd>
  278. <span class="param-type">undefined</span>
  279. </dd>
  280. </dl>
  281. <h4 class="name" id="~processCanvasRGBA"><span class="type-signature">(inner) </span>processCanvasRGBA<span class="signature">(canvas, topX, topY, width, height, radius)</span><span class="type-signature"> &rarr; {undefined}</span></h4>
  282. <h5>Parameters:</h5>
  283. <table class="params">
  284. <thead>
  285. <tr>
  286. <th>Name</th>
  287. <th>Type</th>
  288. <th class="last">Description</th>
  289. </tr>
  290. </thead>
  291. <tbody>
  292. <tr>
  293. <td class="name"><code>canvas</code></td>
  294. <td class="type">
  295. <span class="param-type">HTMLCanvasElement</span>
  296. </td>
  297. <td class="description last"></td>
  298. </tr>
  299. <tr>
  300. <td class="name"><code>topX</code></td>
  301. <td class="type">
  302. <span class="param-type">Integer</span>
  303. </td>
  304. <td class="description last"></td>
  305. </tr>
  306. <tr>
  307. <td class="name"><code>topY</code></td>
  308. <td class="type">
  309. <span class="param-type">Integer</span>
  310. </td>
  311. <td class="description last"></td>
  312. </tr>
  313. <tr>
  314. <td class="name"><code>width</code></td>
  315. <td class="type">
  316. <span class="param-type">Integer</span>
  317. </td>
  318. <td class="description last"></td>
  319. </tr>
  320. <tr>
  321. <td class="name"><code>height</code></td>
  322. <td class="type">
  323. <span class="param-type">Integer</span>
  324. </td>
  325. <td class="description last"></td>
  326. </tr>
  327. <tr>
  328. <td class="name"><code>radius</code></td>
  329. <td class="type">
  330. <span class="param-type">Float</span>
  331. </td>
  332. <td class="description last"></td>
  333. </tr>
  334. </tbody>
  335. </table>
  336. <dl class="details">
  337. <dt class="tag-source">Source:</dt>
  338. <dd class="tag-source"><ul class="dummy"><li>
  339. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line154">line 154</a>
  340. </li></ul></dd>
  341. </dl>
  342. <h5>Returns:</h5>
  343. <dl>
  344. <dt>
  345. Type
  346. </dt>
  347. <dd>
  348. <span class="param-type">undefined</span>
  349. </dd>
  350. </dl>
  351. <h4 class="name" id="~processImage"><span class="type-signature">(inner) </span>processImage<span class="signature">(img, canvas, radius, blurAlphaChannel)</span><span class="type-signature"> &rarr; {undefined}</span></h4>
  352. <h5>Parameters:</h5>
  353. <table class="params">
  354. <thead>
  355. <tr>
  356. <th>Name</th>
  357. <th>Type</th>
  358. <th class="last">Description</th>
  359. </tr>
  360. </thead>
  361. <tbody>
  362. <tr>
  363. <td class="name"><code>img</code></td>
  364. <td class="type">
  365. <span class="param-type">string</span>
  366. |
  367. <span class="param-type">HTMLImageElement</span>
  368. </td>
  369. <td class="description last"></td>
  370. </tr>
  371. <tr>
  372. <td class="name"><code>canvas</code></td>
  373. <td class="type">
  374. <span class="param-type">string</span>
  375. |
  376. <span class="param-type">HTMLCanvasElement</span>
  377. </td>
  378. <td class="description last"></td>
  379. </tr>
  380. <tr>
  381. <td class="name"><code>radius</code></td>
  382. <td class="type">
  383. <span class="param-type">Float</span>
  384. </td>
  385. <td class="description last"></td>
  386. </tr>
  387. <tr>
  388. <td class="name"><code>blurAlphaChannel</code></td>
  389. <td class="type">
  390. <span class="param-type">boolean</span>
  391. </td>
  392. <td class="description last"></td>
  393. </tr>
  394. </tbody>
  395. </table>
  396. <dl class="details">
  397. <dt class="tag-source">Source:</dt>
  398. <dd class="tag-source"><ul class="dummy"><li>
  399. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line84">line 84</a>
  400. </li></ul></dd>
  401. </dl>
  402. <h5>Returns:</h5>
  403. <dl>
  404. <dt>
  405. Type
  406. </dt>
  407. <dd>
  408. <span class="param-type">undefined</span>
  409. </dd>
  410. </dl>
  411. <h4 class="name" id="~processImageDataRGB"><span class="type-signature">(inner) </span>processImageDataRGB<span class="signature">(imageData, topX, topY, width, height, radius)</span><span class="type-signature"> &rarr; {ImageData}</span></h4>
  412. <h5>Parameters:</h5>
  413. <table class="params">
  414. <thead>
  415. <tr>
  416. <th>Name</th>
  417. <th>Type</th>
  418. <th class="last">Description</th>
  419. </tr>
  420. </thead>
  421. <tbody>
  422. <tr>
  423. <td class="name"><code>imageData</code></td>
  424. <td class="type">
  425. <span class="param-type">ImageData</span>
  426. </td>
  427. <td class="description last"></td>
  428. </tr>
  429. <tr>
  430. <td class="name"><code>topX</code></td>
  431. <td class="type">
  432. <span class="param-type">Integer</span>
  433. </td>
  434. <td class="description last"></td>
  435. </tr>
  436. <tr>
  437. <td class="name"><code>topY</code></td>
  438. <td class="type">
  439. <span class="param-type">Integer</span>
  440. </td>
  441. <td class="description last"></td>
  442. </tr>
  443. <tr>
  444. <td class="name"><code>width</code></td>
  445. <td class="type">
  446. <span class="param-type">Integer</span>
  447. </td>
  448. <td class="description last"></td>
  449. </tr>
  450. <tr>
  451. <td class="name"><code>height</code></td>
  452. <td class="type">
  453. <span class="param-type">Integer</span>
  454. </td>
  455. <td class="description last"></td>
  456. </tr>
  457. <tr>
  458. <td class="name"><code>radius</code></td>
  459. <td class="type">
  460. <span class="param-type">Float</span>
  461. </td>
  462. <td class="description last"></td>
  463. </tr>
  464. </tbody>
  465. </table>
  466. <dl class="details">
  467. <dt class="tag-source">Source:</dt>
  468. <dd class="tag-source"><ul class="dummy"><li>
  469. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line425">line 425</a>
  470. </li></ul></dd>
  471. </dl>
  472. <h5>Returns:</h5>
  473. <dl>
  474. <dt>
  475. Type
  476. </dt>
  477. <dd>
  478. <span class="param-type">ImageData</span>
  479. </dd>
  480. </dl>
  481. <h4 class="name" id="~processImageDataRGBA"><span class="type-signature">(inner) </span>processImageDataRGBA<span class="signature">(imageData, topX, topY, width, height, radius)</span><span class="type-signature"> &rarr; {ImageData}</span></h4>
  482. <h5>Parameters:</h5>
  483. <table class="params">
  484. <thead>
  485. <tr>
  486. <th>Name</th>
  487. <th>Type</th>
  488. <th class="last">Description</th>
  489. </tr>
  490. </thead>
  491. <tbody>
  492. <tr>
  493. <td class="name"><code>imageData</code></td>
  494. <td class="type">
  495. <span class="param-type">ImageData</span>
  496. </td>
  497. <td class="description last"></td>
  498. </tr>
  499. <tr>
  500. <td class="name"><code>topX</code></td>
  501. <td class="type">
  502. <span class="param-type">Integer</span>
  503. </td>
  504. <td class="description last"></td>
  505. </tr>
  506. <tr>
  507. <td class="name"><code>topY</code></td>
  508. <td class="type">
  509. <span class="param-type">Integer</span>
  510. </td>
  511. <td class="description last"></td>
  512. </tr>
  513. <tr>
  514. <td class="name"><code>width</code></td>
  515. <td class="type">
  516. <span class="param-type">Integer</span>
  517. </td>
  518. <td class="description last"></td>
  519. </tr>
  520. <tr>
  521. <td class="name"><code>height</code></td>
  522. <td class="type">
  523. <span class="param-type">Integer</span>
  524. </td>
  525. <td class="description last"></td>
  526. </tr>
  527. <tr>
  528. <td class="name"><code>radius</code></td>
  529. <td class="type">
  530. <span class="param-type">Float</span>
  531. </td>
  532. <td class="description last"></td>
  533. </tr>
  534. </tbody>
  535. </table>
  536. <dl class="details">
  537. <dt class="tag-source">Source:</dt>
  538. <dd class="tag-source"><ul class="dummy"><li>
  539. <a href="stackblur.js.html">stackblur.js</a>, <a href="stackblur.js.html#line174">line 174</a>
  540. </li></ul></dd>
  541. </dl>
  542. <h5>Returns:</h5>
  543. <dl>
  544. <dt>
  545. Type
  546. </dt>
  547. <dd>
  548. <span class="param-type">ImageData</span>
  549. </dd>
  550. </dl>
  551. </article>
  552. </section>
  553. </div>
  554. <nav>
  555. <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-StackBlur.html">StackBlur</a></li></ul><h3>Classes</h3><ul><li><a href="module-StackBlur.BlurStack.html">BlurStack</a></li></ul>
  556. </nav>
  557. <br class="clear">
  558. <footer>
  559. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Dec 13 2018 09:27:19 GMT+0800 (China Standard Time)
  560. </footer>
  561. <script> prettyPrint(); </script>
  562. <script src="scripts/linenumber.js"> </script>
  563. </body>
  564. </html>