Skip to content

Commit

Permalink
0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted Patrick committed Jun 17, 2015
1 parent b766251 commit 08b3230
Show file tree
Hide file tree
Showing 24 changed files with 2,366 additions and 97 deletions.
26 changes: 26 additions & 0 deletions dist/txt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,31 @@ declare module txt {
strokeColor?: string;
strokeWidth?: number;
debug?: boolean;
character?: ShapeEvents;
word?: ShapeEvents;
line?: ShapeEvents;
block?: ShapeEvents;
}
interface ShapeEvents {
added?: EventCallback;
click?: EventCallback;
dblclick?: EventCallback;
mousedown?: EventCallback;
mouseout?: EventCallback;
mouseover?: EventCallback;
pressmove?: EventCallback;
pressup?: EventCallback;
removed?: EventCallback;
rollout?: EventCallback;
rollover?: EventCallback;
tick?: EventCallback;
}
interface WordEvents {
}
interface LineEvents {
}
interface EventCallback {
(value: any): void;
}
interface Point {
x: number;
Expand Down Expand Up @@ -56,6 +81,7 @@ declare module txt {
loaderId: number;
style: Style[];
debug: boolean;
original: ConstructObj;
words: Word[];
lines: Line[];
block: createjs.Container;
Expand Down
477 changes: 409 additions & 68 deletions dist/txt.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/txt.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/_charactertext_.txt.charactertext.html
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ <h3>get<wbr>Char<wbr>Code<wbr>At</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/CharacterText.ts#L557">CharacterText.ts:557</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/CharacterText.ts#L598">CharacterText.ts:598</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1815,7 +1815,7 @@ <h3>line<wbr>Layout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/CharacterText.ts#L576">CharacterText.ts:576</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/CharacterText.ts#L617">CharacterText.ts:617</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down
6 changes: 3 additions & 3 deletions docs/classes/_pathtext_.txt.pathtext.html
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ <h3>get<wbr>Char<wbr>Code<wbr>At</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/PathText.ts#L591">PathText.ts:591</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/PathText.ts#L671">PathText.ts:671</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -2149,7 +2149,7 @@ <h3>offset<wbr>Tracking</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/PathText.ts#L587">PathText.ts:587</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/PathText.ts#L667">PathText.ts:667</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -3088,7 +3088,7 @@ <h3>tracking<wbr>Offset</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/PathText.ts#L583">PathText.ts:583</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/PathText.ts#L663">PathText.ts:663</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
46 changes: 30 additions & 16 deletions docs/classes/_text_.txt.text.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ <h3>Properties</h3>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_text_.txt.text.html#mousechildren" class="tsd-kind-icon">mouse<wbr>Children</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_text_.txt.text.html#mouseenabled" class="tsd-kind-icon">mouse<wbr>Enabled</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_text_.txt.text.html#name" class="tsd-kind-icon">name</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_text_.txt.text.html#original" class="tsd-kind-icon">original</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_text_.txt.text.html#parent" class="tsd-kind-icon">parent</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_text_.txt.text.html#regx" class="tsd-kind-icon">regX</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_text_.txt.text.html#regy" class="tsd-kind-icon">regY</a></li>
Expand Down Expand Up @@ -228,7 +229,7 @@ <h3>constructor</h3>
<aside class="tsd-sources">
<p>Overwrites Container.__constructor</p>
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L30">Text.ts:30</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L31">Text.ts:31</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -250,7 +251,7 @@ <h3>accessibility<wbr>Id</h3>
<div class="tsd-signature tsd-kind-icon">accessibility<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L30">Text.ts:30</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L31">Text.ts:31</a></li>
</ul>
</aside>
</section>
Expand All @@ -260,7 +261,7 @@ <h3>accessibility<wbr>Priority</h3>
<div class="tsd-signature tsd-kind-icon">accessibility<wbr>Priority<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L29">Text.ts:29</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L30">Text.ts:30</a></li>
</ul>
</aside>
</section>
Expand All @@ -270,7 +271,7 @@ <h3>accessibility<wbr>Text</h3>
<div class="tsd-signature tsd-kind-icon">accessibility<wbr>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L28">Text.ts:28</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L29">Text.ts:29</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -301,7 +302,7 @@ <h3>block</h3>
<div class="tsd-signature tsd-kind-icon">block<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L23">Text.ts:23</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L24">Text.ts:24</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -469,7 +470,7 @@ <h3>lines</h3>
<div class="tsd-signature tsd-kind-icon">lines<span class="tsd-signature-symbol">:</span> <a href="_line_.txt.line.html" class="tsd-signature-type">Line</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L22">Text.ts:22</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L23">Text.ts:23</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -500,7 +501,7 @@ <h3>missing<wbr>Glyphs</h3>
<div class="tsd-signature tsd-kind-icon">missing<wbr>Glyphs<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L24">Text.ts:24</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L25">Text.ts:25</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -537,6 +538,16 @@ <h3>name</h3>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="original" class="tsd-anchor"></a>
<h3>original</h3>
<div class="tsd-signature tsd-kind-icon">original<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_interfaces_.txt.constructobj.html" class="tsd-signature-type">ConstructObj</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L21">Text.ts:21</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a name="parent" class="tsd-anchor"></a>
<h3>parent</h3>
Expand Down Expand Up @@ -576,7 +587,7 @@ <h3>render<wbr>Cycle</h3>
<div class="tsd-signature tsd-kind-icon">render<wbr>Cycle<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L25">Text.ts:25</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L26">Text.ts:26</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -772,7 +783,7 @@ <h3>words</h3>
<div class="tsd-signature tsd-kind-icon">words<span class="tsd-signature-symbol">:</span> <a href="_word_.txt.word.html" class="tsd-signature-type">Word</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L21">Text.ts:21</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L22">Text.ts:22</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -1103,7 +1114,7 @@ <h3>character<wbr>Layout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L146">Text.ts:146</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L148">Text.ts:148</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
Expand Down Expand Up @@ -1145,7 +1156,7 @@ <h3>complete</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L57">Text.ts:57</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L59">Text.ts:59</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -1278,7 +1289,7 @@ <h3>font<wbr>Loaded</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L59">Text.ts:59</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L61">Text.ts:61</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -1661,7 +1672,7 @@ <h3>layout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L63">Text.ts:63</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L65">Text.ts:65</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -1678,7 +1689,7 @@ <h3>line<wbr>Layout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L469">Text.ts:469</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L550">Text.ts:550</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -2456,7 +2467,7 @@ <h3>render</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L53">Text.ts:53</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L55">Text.ts:55</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -2814,7 +2825,7 @@ <h3>word<wbr>Layout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L309">Text.ts:309</a></li>
<li>Defined in <a href="https://github.com/diverted247/txtjs/blob/master/src/txt/Text.ts#L351">Text.ts:351</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -2999,6 +3010,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_text_.txt.text.html#name" class="tsd-kind-icon">name</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="_text_.txt.text.html#original" class="tsd-kind-icon">original</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
<a href="_text_.txt.text.html#parent" class="tsd-kind-icon">parent</a>
</li>
Expand Down
Loading

0 comments on commit 08b3230

Please sign in to comment.