Fixed graphics bug + updated docs
Fixed issue with getBounds being incorrect for graphics Updated docs Linted code
This commit is contained in:
parent
53506da65e
commit
7713731ab3
145 changed files with 15583 additions and 24078 deletions
|
@ -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>
|
||||
|
@ -194,7 +196,7 @@
|
|||
|
||||
|
||||
<div class="box intro">
|
||||
<p>A Text Object will create a line(s) of text using bitmap font. To split a line you can use "\n", "\r" or "\r\n"
|
||||
<p>A Text Object will create a line(s) of text using bitmap font. To split a line you can use '\n', '\r' or '\r\n'
|
||||
You can generate the fnt files using
|
||||
<a href="http://www.angelcode.com/products/bmfont/">http://www.angelcode.com/products/bmfont/</a> for windows or
|
||||
<a href="http://www.bmglyph.com/">http://www.bmglyph.com/</a> for mac.</p>
|
||||
|
@ -311,7 +313,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
<div class="param-description">
|
||||
<p>The size (optional) and bitmap font id (required) eq "Arial" or "20px Arial" (must have loaded previously)</p>
|
||||
<p>The size (optional) and bitmap font id (required) eq 'Arial' or '20px Arial' (must have loaded previously)</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -320,13 +322,13 @@ You can generate the fnt files using
|
|||
|
||||
<li class="param">
|
||||
|
||||
<code class="param-name optional">[align="left"]</code>
|
||||
<code class="param-name optional">[align='left']</code>
|
||||
<span class="type">String</span>
|
||||
<span class="flag optional" title="This parameter is optional.">optional</span>
|
||||
|
||||
|
||||
<div class="param-description">
|
||||
<p>An alignment of the multiline text ("left", "center" or "right")</p>
|
||||
<p>An alignment of the multiline text ('left', 'center' or 'right')</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -572,6 +574,13 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item property inherited">
|
||||
<a href="#property_height">height</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item property inherited">
|
||||
|
@ -656,6 +665,13 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item property inherited">
|
||||
<a href="#property_width">width</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="index-item property inherited">
|
||||
|
@ -725,7 +741,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l32"><code>src/pixi/display/DisplayObjectContainer.js:32</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l69"><code>src/pixi/display/DisplayObjectContainer.js:69</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -817,7 +833,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l120"><code>src/pixi/display/DisplayObjectContainer.js:120</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l94"><code>src/pixi/display/DisplayObjectContainer.js:94</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -919,7 +935,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l174"><code>src/pixi/display/DisplayObject.js:174</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l185"><code>src/pixi/display/DisplayObject.js:185</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1004,7 +1020,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l256"><code>src/pixi/display/DisplayObjectContainer.js:256</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l148"><code>src/pixi/display/DisplayObjectContainer.js:148</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1090,7 +1106,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l180"><code>src/pixi/display/DisplayObject.js:180</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l191"><code>src/pixi/display/DisplayObject.js:191</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1175,7 +1191,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l206"><code>src/pixi/display/DisplayObject.js:206</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l217"><code>src/pixi/display/DisplayObject.js:217</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1260,7 +1276,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l200"><code>src/pixi/display/DisplayObject.js:200</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l211"><code>src/pixi/display/DisplayObject.js:211</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1345,7 +1361,7 @@ You can generate the fnt files using
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l186"><code>src/pixi/display/DisplayObject.js:186</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l197"><code>src/pixi/display/DisplayObject.js:197</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1431,7 +1447,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/pixi/display/DisplayObject.js:193</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l204"><code>src/pixi/display/DisplayObject.js:204</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1517,7 +1533,7 @@ for this callback to be fired, The touch must have started over the displayObjec
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l274"><code>src/pixi/display/DisplayObjectContainer.js:274</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l166"><code>src/pixi/display/DisplayObjectContainer.js:166</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1605,7 +1621,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/pixi/display/DisplayObject.js:247</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l258"><code>src/pixi/display/DisplayObject.js:258</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1696,7 +1712,7 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l46"><code>src/pixi/text/BitmapText.js:46</code></a>
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l45"><code>src/pixi/text/BitmapText.js:45</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1740,7 +1756,7 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
|
||||
<div class="param-description">
|
||||
<p>The size (optional) and bitmap font id (required) eq "Arial" or "20px Arial" (must have loaded previously)</p>
|
||||
<p>The size (optional) and bitmap font id (required) eq 'Arial' or '20px Arial' (must have loaded previously)</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -1749,13 +1765,13 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
<li class="param">
|
||||
|
||||
<code class="param-name optional">[align="left"]</code>
|
||||
<code class="param-name optional">[align='left']</code>
|
||||
<span class="type">String</span>
|
||||
<span class="flag optional" title="This parameter is optional.">optional</span>
|
||||
|
||||
|
||||
<div class="param-description">
|
||||
<p>An alignment of the multiline text ("left", "center" or "right")</p>
|
||||
<p>An alignment of the multiline text ('left', 'center' or 'right')</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -1818,7 +1834,7 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l34"><code>src/pixi/text/BitmapText.js:34</code></a>
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l33"><code>src/pixi/text/BitmapText.js:33</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1912,7 +1928,7 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l207"><code>src/pixi/display/DisplayObjectContainer.js:207</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l122"><code>src/pixi/display/DisplayObjectContainer.js:122</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -1942,7 +1958,7 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
|
||||
<div class="param-description">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -1957,7 +1973,7 @@ Instead of using this function you can now simply set the interactive property t
|
|||
|
||||
|
||||
<div class="param-description">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -2012,7 +2028,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/pixi/display/DisplayObject.js:217</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l228"><code>src/pixi/display/DisplayObject.js:228</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2098,7 +2114,7 @@ basically a touch version of click</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l230"><code>src/pixi/display/DisplayObject.js:230</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l241"><code>src/pixi/display/DisplayObject.js:241</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2183,7 +2199,7 @@ basically a touch version of click</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l236"><code>src/pixi/display/DisplayObject.js:236</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l247"><code>src/pixi/display/DisplayObject.js:247</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2269,7 +2285,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/pixi/display/DisplayObject.js:224</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l235"><code>src/pixi/display/DisplayObject.js:235</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2349,7 +2365,7 @@ for this callback to be fired, The touch must have started over the sprite</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l67"><code>src/pixi/text/BitmapText.js:67</code></a>
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l66"><code>src/pixi/text/BitmapText.js:66</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2406,7 +2422,7 @@ for this callback to be fired, The touch must have started over the sprite</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l142"><code>src/pixi/text/BitmapText.js:142</code></a>
|
||||
<a href="../files/src_pixi_text_BitmapText.js.html#l141"><code>src/pixi/text/BitmapText.js:141</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2629,7 +2645,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/pixi/display/DisplayObject.js:145</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l147"><code>src/pixi/display/DisplayObject.js:147</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2673,7 +2689,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/pixi/display/DisplayObject.js:154</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l156"><code>src/pixi/display/DisplayObject.js:156</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2715,7 +2731,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/pixi/display/DisplayObject.js:318</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l314"><code>src/pixi/display/DisplayObject.js:314</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2725,9 +2741,53 @@ 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 'null'</p>
|
||||
<p><p>Sets the filters for the displayObject.</p></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 'null'</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="property_height" class="property item inherited">
|
||||
<h3 class="name"><code>height</code></h3>
|
||||
<span class="type">Number</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<p>Inherited from
|
||||
<a href="../classes/DisplayObjectContainer.html#property_height">DisplayObjectContainer</a>:
|
||||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l50"><code>src/pixi/display/DisplayObjectContainer.js:50</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="description">
|
||||
<p>The height of the displayObjectContainer, setting this will actually modify the scale to acheive the value set</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -2802,7 +2862,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/pixi/display/DisplayObject.js:260</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l271"><code>src/pixi/display/DisplayObject.js:271</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2848,7 +2908,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/pixi/display/DisplayObject.js:135</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l137"><code>src/pixi/display/DisplayObject.js:137</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -2890,7 +2950,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/pixi/display/DisplayObject.js:280</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l291"><code>src/pixi/display/DisplayObject.js:291</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -3247,6 +3307,48 @@ To remove a mask, set this property to null.</p>
|
|||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="property_width" class="property item inherited">
|
||||
<h3 class="name"><code>width</code></h3>
|
||||
<span class="type">Number</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<p>Inherited from
|
||||
<a href="../classes/DisplayObjectContainer.html#property_width">DisplayObjectContainer</a>:
|
||||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l32"><code>src/pixi/display/DisplayObjectContainer.js:32</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="description">
|
||||
<p>The width of the displayObjectContainer, setting this will actually modify the scale to acheive the value set</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -3314,7 +3416,7 @@ To remove a mask, set this property to null.</p>
|
|||
|
||||
|
||||
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l125"><code>src/pixi/display/DisplayObject.js:125</code></a>
|
||||
<a href="../files/src_pixi_display_DisplayObject.js.html#l127"><code>src/pixi/display/DisplayObject.js:127</code></a>
|
||||
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue