Fixed bug where setText not working correctly

Docs updated
This commit is contained in:
Mat Groves 2014-01-05 18:16:04 +00:00
parent 8cd32d392c
commit 75c7880c93
119 changed files with 2398 additions and 906 deletions

View file

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>BitmapText - Pixi.JS</title>
<title>BitmapText - pixi.js</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
@ -15,7 +15,7 @@
<div id="hd" class="yui3-g header">
<div class="yui3-u-3-4">
<h1><img src="http://www.goodboydigital.com/pixijs/logo_small.png" title="Pixi.JS"></h1>
<h1><img src="http://www.goodboydigital.com/pixijs/logo_small.png" title="pixi.js"></h1>
</div>
<div class="yui3-u-1-4 version">
@ -43,6 +43,8 @@
<li><a href="../classes/AbstractFilter.html">AbstractFilter</a></li>
<li><a href="../classes/AlphaMaskFilter.html">AlphaMaskFilter</a></li>
<li><a href="../classes/AssetLoader.html">AssetLoader</a></li>
<li><a href="../classes/AtlasLoader.html">AtlasLoader</a></li>
@ -560,6 +562,13 @@ You can generate the fnt files using
</li>
<li class="index-item property inherited">
<a href="#property_defaultCursor">defaultCursor</a>
</li>
<li class="index-item property private inherited">
@ -686,6 +695,13 @@ You can generate the fnt files using
</li>
<li class="index-item property inherited">
<a href="#property_worldVisible">worldVisible</a>
</li>
</ul>
@ -741,7 +757,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l69"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:69</code></a>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l70"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:70</code></a>
</p>
@ -833,7 +849,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l94"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:94</code></a>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l95"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:95</code></a>
</p>
@ -935,7 +951,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObject.js.html#l185"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:185</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l193"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:193</code></a>
</p>
@ -1020,7 +1036,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l148"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:148</code></a>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l149"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:149</code></a>
</p>
@ -1106,7 +1122,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObject.js.html#l191"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:191</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l199"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:199</code></a>
</p>
@ -1191,7 +1207,7 @@ You can generate the fnt files using
<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#l225"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:225</code></a>
</p>
@ -1276,7 +1292,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObject.js.html#l211"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:211</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l219"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:219</code></a>
</p>
@ -1361,7 +1377,7 @@ You can generate the fnt files using
<a href="../files/src_pixi_display_DisplayObject.js.html#l197"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:197</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l205"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:205</code></a>
</p>
@ -1447,7 +1463,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#l204"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:204</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l212"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:212</code></a>
</p>
@ -1533,7 +1549,7 @@ for this callback to be fired, The touch must have started over the displayObjec
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l166"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:166</code></a>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l167"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:167</code></a>
</p>
@ -1621,7 +1637,7 @@ for this callback to be fired, The touch must have started over the displayObjec
<a href="../files/src_pixi_display_DisplayObject.js.html#l258"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:258</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l266"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:266</code></a>
</p>
@ -1928,7 +1944,7 @@ Instead of using this function you can now simply set the interactive property t
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l122"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:122</code></a>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l123"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:123</code></a>
</p>
@ -2028,7 +2044,7 @@ Instead of using this function you can now simply set the interactive property t
<a href="../files/src_pixi_display_DisplayObject.js.html#l228"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:228</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l236"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:236</code></a>
</p>
@ -2114,7 +2130,7 @@ basically a touch version of click</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l241"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:241</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l249"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:249</code></a>
</p>
@ -2199,7 +2215,7 @@ basically a touch version of click</p>
<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#l255"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:255</code></a>
</p>
@ -2285,7 +2301,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#l235"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:235</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l243"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:243</code></a>
</p>
@ -2645,7 +2661,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#l147"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:147</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l154"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:154</code></a>
</p>
@ -2664,6 +2680,48 @@ for this callback to be fired, The touch must have started over the sprite</p>
</div>
<div id="property_defaultCursor" class="property item inherited">
<h3 class="name"><code>defaultCursor</code></h3>
<span class="type">String</span>
<div class="meta">
<p>Inherited from
<a href="../classes/DisplayObject.html#property_defaultCursor">DisplayObject</a>:
<a href="../files/src_pixi_display_DisplayObject.js.html#l125"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:125</code></a>
</p>
</div>
<div class="description">
<p>This is the curser that will be used when the mouse is over this object. To enable this the element must have interaction = true and buttonMode = true</p>
</div>
</div>
@ -2689,7 +2747,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#l156"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:156</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l163"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:163</code></a>
</p>
@ -2731,7 +2789,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#l314"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:314</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l340"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:340</code></a>
</p>
@ -2777,7 +2835,7 @@ To remove filters simply set this property to &#39;null&#39;</li>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l50"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:50</code></a>
<a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l51"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:51</code></a>
</p>
@ -2862,7 +2920,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
<a href="../files/src_pixi_display_DisplayObject.js.html#l271"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:271</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l279"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:279</code></a>
</p>
@ -2908,7 +2966,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
<a href="../files/src_pixi_display_DisplayObject.js.html#l137"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:137</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l144"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:144</code></a>
</p>
@ -2950,7 +3008,7 @@ Setting it is a neat way of optimising the hitTest function that the interaction
<a href="../files/src_pixi_display_DisplayObject.js.html#l291"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:291</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l320"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:320</code></a>
</p>
@ -3416,7 +3474,7 @@ To remove a mask, set this property to null.</p>
<a href="../files/src_pixi_display_DisplayObject.js.html#l127"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:127</code></a>
<a href="../files/src_pixi_display_DisplayObject.js.html#l134"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:134</code></a>
</p>
@ -3435,6 +3493,48 @@ To remove a mask, set this property to null.</p>
</div>
<div id="property_worldVisible" class="property item inherited">
<h3 class="name"><code>worldVisible</code></h3>
<span class="type">Boolean</span>
<div class="meta">
<p>Inherited from
<a href="../classes/DisplayObject.html#property_worldVisible">DisplayObject</a>:
<a href="../files/src_pixi_display_DisplayObject.js.html#l299"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:299</code></a>
</p>
</div>
<div class="description">
<p>[read-only] Indicates if the sprite is globaly visible.</p>
</div>
</div>