Fixed graphics bug + updated docs

Fixed issue with getBounds being incorrect for graphics
Updated docs
Linted code
This commit is contained in:
Mat Groves 2014-01-01 23:54:45 +00:00
parent 53506da65e
commit 7713731ab3
145 changed files with 15583 additions and 24078 deletions

View file

@ -19,7 +19,7 @@
</div>
<div class="yui3-u-1-4 version">
<em>API Docs for: 1.3.0</em>
<em>API Docs for: 1.4.0</em>
</div>
</div>
<div id="bd" class="yui3-g">
@ -45,6 +45,8 @@
<li><a href="../classes/AssetLoader.html">AssetLoader</a></li>
<li><a href="../classes/AtlasLoader.html">AtlasLoader</a></li>
<li><a href="../classes/BaseTexture.html">BaseTexture</a></li>
<li><a href="../classes/BitmapFontLoader.html">BitmapFontLoader</a></li>
@ -61,7 +63,7 @@
<li><a href="../classes/ColorMatrixFilter.html">ColorMatrixFilter</a></li>
<li><a href="../classes/CustomRenderable.html">CustomRenderable</a></li>
<li><a href="../classes/ColorStepFilter.html">ColorStepFilter</a></li>
<li><a href="../classes/DisplacementFilter.html">DisplacementFilter</a></li>
@ -75,7 +77,7 @@
<li><a href="../classes/Graphics.html">Graphics</a></li>
<li><a href="../classes/GreyFilter.html">GreyFilter</a></li>
<li><a href="../classes/GrayFilter.html">GrayFilter</a></li>
<li><a href="../classes/ImageLoader.html">ImageLoader</a></li>
@ -87,6 +89,8 @@
<li><a href="../classes/PixelateFilter.html">PixelateFilter</a></li>
<li><a href="../classes/PIXI.PixiShader.html">PIXI.PixiShader</a></li>
<li><a href="../classes/Point.html">Point</a></li>
<li><a href="../classes/Polygon.html">Polygon</a></li>
@ -109,10 +113,10 @@
<li><a href="../classes/Spine.html">Spine</a></li>
<li><a href="../classes/Sprite.html">Sprite</a></li>
<li><a href="../classes/SpriteSheetLoader.html">SpriteSheetLoader</a></li>
<li><a href="../classes/Sprite™.html">Sprite™</a></li>
<li><a href="../classes/Stage.html">Stage</a></li>
<li><a href="../classes/Text.html">Text</a></li>
@ -121,8 +125,6 @@
<li><a href="../classes/TilingSprite.html">TilingSprite</a></li>
<li><a href="../classes/WebGLBatch.html">WebGLBatch</a></li>
<li><a href="../classes/WebGLRenderer.html">WebGLRenderer</a></li>
</ul>
@ -562,7 +564,7 @@
<a href="../files/src_pixi_display_DisplayObject.js.html#l174"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:174</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l185"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:185</code></a>
</p>
@ -650,7 +652,7 @@
<a href="../files/src_pixi_display_DisplayObject.js.html#l180"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:180</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l191"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:191</code></a>
</p>
@ -738,7 +740,7 @@
<a href="../files/src_pixi_display_DisplayObject.js.html#l206"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:206</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l217"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:217</code></a>
</p>
@ -826,7 +828,7 @@
<a href="../files/src_pixi_display_DisplayObject.js.html#l200"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:200</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l211"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:211</code></a>
</p>
@ -914,7 +916,7 @@
<a href="../files/src_pixi_display_DisplayObject.js.html#l186"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:186</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l197"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:197</code></a>
</p>
@ -1003,7 +1005,7 @@ for this callback to be fired the mouse must have been pressed down over the dis
<a href="../files/src_pixi_display_DisplayObject.js.html#l193"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:193</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l204"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:204</code></a>
</p>
@ -1094,7 +1096,7 @@ for this callback to be fired, The touch must have started over the displayObjec
<a href="../files/src_pixi_display_DisplayObject.js.html#l247"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:247</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l258"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:258</code></a>
</p>
@ -1185,7 +1187,7 @@ Instead of using this function you can now simply set the interactive property t
<a href="../files/src_pixi_display_DisplayObject.js.html#l217"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:217</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l228"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:228</code></a>
</p>
@ -1274,7 +1276,7 @@ basically a touch version of click</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l230"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:230</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l241"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:241</code></a>
</p>
@ -1362,7 +1364,7 @@ basically a touch version of click</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l236"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:236</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l247"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:247</code></a>
</p>
@ -1451,7 +1453,7 @@ for this callback to be fired, The touch must have started over the sprite</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l224"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:224</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l235"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:235</code></a>
</p>
@ -1667,7 +1669,7 @@ for this callback to be fired, The touch must have started over the sprite</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l145"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:145</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l147"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:147</code></a>
</p>
@ -1714,7 +1716,7 @@ for this callback to be fired, The touch must have started over the sprite</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l154"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:154</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l156"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:156</code></a>
</p>
@ -1759,7 +1761,7 @@ for this callback to be fired, The touch must have started over the sprite</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l318"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:318</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l314"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:314</code></a>
</p>
@ -1769,9 +1771,11 @@ for this callback to be fired, The touch must have started over the sprite</p>
</div>
<div class="description">
<p>Sets the filters for the displayObject.
* IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer.
To remove filters simply set this property to &#39;null&#39;</p>
<p>Sets the filters for the displayObject.</p>
<ul>
<li>IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer.
To remove filters simply set this property to &#39;null&#39;</li>
</ul>
</div>
@ -1852,7 +1856,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
<a href="../files/src_pixi_display_DisplayObject.js.html#l260"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:260</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l271"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:271</code></a>
</p>
@ -1901,7 +1905,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
<a href="../files/src_pixi_display_DisplayObject.js.html#l135"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:135</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l137"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:137</code></a>
</p>
@ -1946,7 +1950,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
<a href="../files/src_pixi_display_DisplayObject.js.html#l280"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:280</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l291"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:291</code></a>
</p>
@ -2400,7 +2404,7 @@ To remove a mask, set this property to null.</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l125"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:125</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l127"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:127</code></a>
</p>