alpha update

added new function Texture.fromCanvas
docs updated
photonstorm morph example added
photonstorm balls example added
examples renamed
This commit is contained in:
Mat Groves 2013-03-02 20:49:12 +00:00
parent 46174cc0ca
commit b8d849032c
78 changed files with 1354 additions and 301 deletions

View file

@ -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="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l127"><code>pixi&#x2F;textures&#x2F;Texture.js:127</code></a>
<a href="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l169"><code>pixi&#x2F;textures&#x2F;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="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l138"><code>pixi&#x2F;textures&#x2F;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="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l112"><code>pixi&#x2F;textures&#x2F;Texture.js:112</code></a>
<a href="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l123"><code>pixi&#x2F;textures&#x2F;Texture.js:123</code></a>
</p>
@ -711,7 +825,7 @@
<a href="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l139"><code>pixi&#x2F;textures&#x2F;Texture.js:139</code></a>
<a href="..&#x2F;files&#x2F;pixi_textures_Texture.js.html#l181"><code>pixi&#x2F;textures&#x2F;Texture.js:181</code></a>
</p>