alpha update
added new function Texture.fromCanvas docs updated photonstorm morph example added photonstorm balls example added examples renamed
This commit is contained in:
parent
46174cc0ca
commit
b8d849032c
78 changed files with 1354 additions and 301 deletions
|
@ -153,7 +153,7 @@
|
|||
|
||||
<li class="arg">
|
||||
|
||||
<code>imageUrl</code>
|
||||
<code>source</code>
|
||||
|
||||
</li>
|
||||
|
||||
|
@ -208,14 +208,14 @@
|
|||
|
||||
<li class="param">
|
||||
|
||||
<code class="param-name">imageUrl</code>
|
||||
<code class="param-name">source</code>
|
||||
<span class="type">String</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="param-description">
|
||||
<p>image url</p>
|
||||
<p>the source object (image or canvas)</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -265,14 +265,7 @@
|
|||
</li>
|
||||
|
||||
<li class="index-item property">
|
||||
<a href="#property_image">image</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item property">
|
||||
<a href="#property_imageUrl">imageUrl</a>
|
||||
<a href="#property_source">source</a>
|
||||
|
||||
|
||||
|
||||
|
@ -324,7 +317,7 @@
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l54"><code>pixi/textures/BaseTexture.js:54</code></a>
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l32"><code>pixi/textures/BaseTexture.js:32</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -345,8 +338,8 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div id="property_image" class="property item">
|
||||
<h3 class="name"><code>image</code></h3>
|
||||
<div id="property_source" class="property item">
|
||||
<h3 class="name"><code>source</code></h3>
|
||||
<span class="type">Image</span>
|
||||
|
||||
|
||||
|
@ -368,7 +361,7 @@
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l26"><code>pixi/textures/BaseTexture.js:26</code></a>
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l39"><code>pixi/textures/BaseTexture.js:39</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -378,51 +371,7 @@
|
|||
</div>
|
||||
|
||||
<div class="description">
|
||||
<p>The html image that is loaded to create the texture</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="property_imageUrl" class="property item">
|
||||
<h3 class="name"><code>imageUrl</code></h3>
|
||||
<span class="type">String</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="meta">
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
Defined in
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l19"><code>pixi/textures/BaseTexture.js:19</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="description">
|
||||
<p>The url of the texture</p>
|
||||
<p>The source that is loaded to create the texture</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -456,7 +405,7 @@
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l48"><code>pixi/textures/BaseTexture.js:48</code></a>
|
||||
<a href="../files/pixi_textures_BaseTexture.js.html#l26"><code>pixi/textures/BaseTexture.js:26</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ Dont forget to add the view to your DOM or you will not see anything :)</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_renderers_CanvasRenderer.js.html#l53"><code>pixi/renderers/CanvasRenderer.js:53</code></a>
|
||||
<a href="../files/pixi_renderers_CanvasRenderer.js.html#l56"><code>pixi/renderers/CanvasRenderer.js:56</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -341,7 +341,7 @@ Dont forget to add the view to your DOM or you will not see anything :)</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_renderers_CanvasRenderer.js.html#l42"><code>pixi/renderers/CanvasRenderer.js:42</code></a>
|
||||
<a href="../files/pixi_renderers_CanvasRenderer.js.html#l45"><code>pixi/renderers/CanvasRenderer.js:45</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
|
|
@ -283,6 +283,15 @@
|
|||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item method">
|
||||
<a href="#method_fromCanvas">fromCanvas</a>
|
||||
|
||||
|
||||
<span class="flag static">static</span>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item method">
|
||||
|
@ -401,7 +410,7 @@
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_Texture.js.html#l127"><code>pixi/textures/Texture.js:127</code></a>
|
||||
<a href="../files/pixi_textures_Texture.js.html#l169"><code>pixi/textures/Texture.js:169</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -458,6 +467,111 @@
|
|||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="method_fromCanvas" class="method item">
|
||||
<h3 class="name"><code>fromCanvas</code></h3>
|
||||
|
||||
|
||||
<div class="args">
|
||||
<span class="paren">(</span><ul class="args-list inline commas">
|
||||
|
||||
<li class="arg">
|
||||
|
||||
<code>canvas</code>
|
||||
|
||||
</li>
|
||||
|
||||
</ul><span class="paren">)</span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<span class="returns-inline">
|
||||
<span class="type"></span>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="flag static">static</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="meta">
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
Defined in
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_Texture.js.html#l138"><code>pixi/textures/Texture.js:138</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="description">
|
||||
<p>Helper function that returns a texture based on a canvas element
|
||||
If the canvas is not in the texture cache it will be created and loaded</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="params">
|
||||
<h4>Parameters:</h4>
|
||||
|
||||
<ul class="params-list">
|
||||
|
||||
<li class="param">
|
||||
|
||||
<code class="param-name">canvas</code>
|
||||
<span class="type">Canvas</span>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="param-description">
|
||||
<p>The canvas element source of the texture</p>
|
||||
</div>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="returns">
|
||||
<h4>Returns:</h4>
|
||||
|
||||
<div class="returns-description">
|
||||
|
||||
|
||||
Texture
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -507,7 +621,7 @@
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_Texture.js.html#l112"><code>pixi/textures/Texture.js:112</code></a>
|
||||
<a href="../files/pixi_textures_Texture.js.html#l123"><code>pixi/textures/Texture.js:123</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -711,7 +825,7 @@
|
|||
|
||||
|
||||
|
||||
<a href="../files/pixi_textures_Texture.js.html#l139"><code>pixi/textures/Texture.js:139</code></a>
|
||||
<a href="../files/pixi_textures_Texture.js.html#l181"><code>pixi/textures/Texture.js:181</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue