Skip to content

Commit ec81b02

Browse files
committed
Updated documentation
1 parent 8b52613 commit ec81b02

File tree

27 files changed

+579
-579
lines changed

27 files changed

+579
-579
lines changed

wiki/docs/anchor/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ An object that holds 3 [Two.Vector](/docs/vector/)s, the anchor point and its co
3232
| ---- | ----------- |
3333
| x | The x position of the root anchor point. |
3434
| y | The y position of the root anchor point. |
35-
| lx | The x position of the left handle point. |
36-
| ly | The y position of the left handle point. |
37-
| rx | The x position of the right handle point. |
38-
| ry | The y position of the right handle point. |
35+
| ax | The x position of the left handle point. |
36+
| ay | The y position of the left handle point. |
37+
| bx | The x position of the right handle point. |
38+
| by | The y position of the right handle point. |
3939
| command | The command to describe how to render. Applicable commands are [Two.Commands](/docs/two/#commands) |
4040

4141

@@ -87,8 +87,8 @@ Create a new [Two.Anchor](/docs/anchor/) from an object notation of a [Two.Ancho
8787

8888
<div class="meta">
8989

90-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L69">
91-
anchor.js:69
90+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L70">
91+
anchor.js:70
9292
</a>
9393

9494
</div>
@@ -149,8 +149,8 @@ Copy the properties of one [Two.Anchor](/docs/anchor/) onto another.
149149

150150
<div class="meta">
151151

152-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L81">
153-
anchor.js:81
152+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L82">
153+
anchor.js:82
154154
</a>
155155

156156
</div>
@@ -202,8 +202,8 @@ Create a new [Two.Anchor](/docs/anchor/), set all its values to the current inst
202202

203203
<div class="meta">
204204

205-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L127">
206-
anchor.js:127
205+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L128">
206+
anchor.js:128
207207
</a>
208208

209209
</div>
@@ -257,8 +257,8 @@ Create a JSON compatible plain object of the current instance. Intended for use
257257

258258
<div class="meta">
259259

260-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L137">
261-
anchor.js:137
260+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L138">
261+
anchor.js:138
262262
</a>
263263

264264
</div>
@@ -322,8 +322,8 @@ Create a string form of the current instance. Intended for use with storing valu
322322

323323
<div class="meta">
324324

325-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L162">
326-
anchor.js:162
325+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/anchor.js#L163">
326+
anchor.js:163
327327
</a>
328328

329329
</div>

wiki/docs/children/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Map of all elements in the list keyed by `id`s.
6363

6464
<div class="meta">
6565

66-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/children.js#L12">
67-
children.js:12
66+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/children.js#L11">
67+
children.js:11
6868
</a>
6969

7070
</div>
@@ -115,8 +115,8 @@ Adds elements to the `ids` map.
115115

116116
<div class="meta">
117117

118-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/children.js#L32">
119-
children.js:32
118+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/children.js#L34">
119+
children.js:34
120120
</a>
121121

122122
</div>
@@ -167,8 +167,8 @@ Removes elements to the `ids` map.
167167

168168
<div class="meta">
169169

170-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/children.js#L48">
171-
children.js:48
170+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/children.js#L50">
171+
children.js:50
172172
</a>
173173

174174
</div>

wiki/docs/effects/gradient/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ Create a new instance of [Two.Gradient](/docs/effects/gradient/) with the same p
396396

397397
<div class="meta">
398398

399-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/gradient.js#L85">
400-
gradient.js:85
399+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/gradient.js#L91">
400+
gradient.js:91
401401
</a>
402402

403403
</div>
@@ -448,8 +448,8 @@ Copy the properties of one [Two.Gradient](/docs/effects/gradient/) onto another.
448448

449449
<div class="meta">
450450

451-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/gradient.js#L114">
452-
gradient.js:114
451+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/gradient.js#L120">
452+
gradient.js:120
453453
</a>
454454

455455
</div>
@@ -501,8 +501,8 @@ Return a JSON compatible plain object that represents the path.
501501

502502
<div class="meta">
503503

504-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/gradient.js#L136">
505-
gradient.js:136
504+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/gradient.js#L139">
505+
gradient.js:139
506506
</a>
507507

508508
</div>

wiki/docs/effects/image-sequence/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ Copy the properties of one [Two.ImageSequence](/docs/effects/image-sequence/) on
381381

382382
<div class="meta">
383383

384-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L200">
385-
image-sequence.js:200
384+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L206">
385+
image-sequence.js:206
386386
</a>
387387

388388
</div>
@@ -435,8 +435,8 @@ Initiate animation playback of a [Two.ImageSequence](/docs/effects/image-sequenc
435435

436436
<div class="meta">
437437

438-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L217">
439-
image-sequence.js:217
438+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L225">
439+
image-sequence.js:225
440440
</a>
441441

442442
</div>
@@ -480,8 +480,8 @@ Halt animation playback of a [Two.ImageSequence](/docs/effects/image-sequence/).
480480

481481
<div class="meta">
482482

483-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L251">
484-
image-sequence.js:251
483+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L259">
484+
image-sequence.js:259
485485
</a>
486486

487487
</div>
@@ -525,8 +525,8 @@ Halt animation playback of a [Two.ImageSequence](/docs/effects/image-sequence/)
525525

526526
<div class="meta">
527527

528-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L261">
529-
image-sequence.js:261
528+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L269">
529+
image-sequence.js:269
530530
</a>
531531

532532
</div>
@@ -585,8 +585,8 @@ Create a new instance of [Two.ImageSequence](/docs/effects/image-sequence/) with
585585

586586
<div class="meta">
587587

588-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L273">
589-
image-sequence.js:273
588+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L281">
589+
image-sequence.js:281
590590
</a>
591591

592592
</div>
@@ -638,8 +638,8 @@ Return a JSON compatible plain object that represents the path.
638638

639639
<div class="meta">
640640

641-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L301">
642-
image-sequence.js:301
641+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/image-sequence.js#L309">
642+
image-sequence.js:309
643643
</a>
644644

645645
</div>

wiki/docs/effects/linear-gradient/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ Copy the properties of one [Two.LinearGradient](/docs/effects/linear-gradient/)
286286

287287
<div class="meta">
288288

289-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/linear-gradient.js#L84">
290-
linear-gradient.js:84
289+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/linear-gradient.js#L90">
290+
linear-gradient.js:90
291291
</a>
292292

293293
</div>
@@ -346,8 +346,8 @@ Create a new instance of [Two.LinearGradient](/docs/effects/linear-gradient/) wi
346346

347347
<div class="meta">
348348

349-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/linear-gradient.js#L109">
350-
linear-gradient.js:109
349+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/linear-gradient.js#L112">
350+
linear-gradient.js:112
351351
</a>
352352

353353
</div>
@@ -399,8 +399,8 @@ Return a JSON compatible plain object that represents the path.
399399

400400
<div class="meta">
401401

402-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/linear-gradient.js#L144">
403-
linear-gradient.js:144
402+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/linear-gradient.js#L147">
403+
linear-gradient.js:147
404404
</a>
405405

406406
</div>

wiki/docs/effects/radial-gradient/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ Copy the properties of one [Two.RadialGradient](/docs/effects/radial-gradient/)
344344

345345
<div class="meta">
346346

347-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/radial-gradient.js#L111">
348-
radial-gradient.js:111
347+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/radial-gradient.js#L117">
348+
radial-gradient.js:117
349349
</a>
350350

351351
</div>
@@ -404,8 +404,8 @@ Create a new instance of [Two.RadialGradient](/docs/effects/radial-gradient/) wi
404404

405405
<div class="meta">
406406

407-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/radial-gradient.js#L138">
408-
radial-gradient.js:138
407+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/radial-gradient.js#L143">
408+
radial-gradient.js:143
409409
</a>
410410

411411
</div>
@@ -457,8 +457,8 @@ Return a JSON compatible plain object that represents the path.
457457

458458
<div class="meta">
459459

460-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/radial-gradient.js#L174">
461-
radial-gradient.js:174
460+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/radial-gradient.js#L179">
461+
radial-gradient.js:179
462462
</a>
463463

464464
</div>

wiki/docs/effects/sprite/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ Copy the properties of one [Two.Sprite](/docs/effects/sprite/) onto another.
430430

431431
<div class="meta">
432432

433-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L233">
434-
sprite.js:233
433+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L239">
434+
sprite.js:239
435435
</a>
436436

437437
</div>
@@ -484,8 +484,8 @@ Initiate animation playback of a [Two.Sprite](/docs/effects/sprite/).
484484

485485
<div class="meta">
486486

487-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L250">
488-
sprite.js:250
487+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L258">
488+
sprite.js:258
489489
</a>
490490

491491
</div>
@@ -529,8 +529,8 @@ Halt animation playback of a [Two.Sprite](/docs/effects/sprite/).
529529

530530
<div class="meta">
531531

532-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L284">
533-
sprite.js:284
532+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L292">
533+
sprite.js:292
534534
</a>
535535

536536
</div>
@@ -574,8 +574,8 @@ Halt animation playback of a [Two.Sprite](/docs/effects/sprite/) and set the cur
574574

575575
<div class="meta">
576576

577-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L294">
578-
sprite.js:294
577+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L302">
578+
sprite.js:302
579579
</a>
580580

581581
</div>
@@ -634,8 +634,8 @@ Create a new instance of [Two.Sprite](/docs/effects/sprite/) with the same prope
634634

635635
<div class="meta">
636636

637-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L306">
638-
sprite.js:306
637+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L314">
638+
sprite.js:314
639639
</a>
640640

641641
</div>
@@ -687,8 +687,8 @@ Return a JSON compatible plain object that represents the path.
687687

688688
<div class="meta">
689689

690-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L338">
691-
sprite.js:338
690+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/sprite.js#L346">
691+
sprite.js:346
692692
</a>
693693

694694
</div>

wiki/docs/effects/stop/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ Copy the properties of one [Two.Stop](/docs/effects/stop/) onto another.
390390

391391
<div class="meta">
392392

393-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/stop.js#L112">
394-
stop.js:112
393+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/stop.js#L118">
394+
stop.js:118
395395
</a>
396396

397397
</div>
@@ -450,8 +450,8 @@ Create a new instance of [Two.Stop](/docs/effects/stop/) with the same propertie
450450

451451
<div class="meta">
452452

453-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/stop.js#L131">
454-
stop.js:131
453+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/stop.js#L137">
454+
stop.js:137
455455
</a>
456456

457457
</div>
@@ -503,8 +503,8 @@ Return a JSON compatible plain object that represents the path.
503503

504504
<div class="meta">
505505

506-
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/stop.js#L156">
507-
stop.js:156
506+
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/stop.js#L162">
507+
stop.js:162
508508
</a>
509509

510510
</div>

0 commit comments

Comments
 (0)