Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonobr1 committed Feb 22, 2024
1 parent 1728102 commit 4056107
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 115 deletions.
24 changes: 12 additions & 12 deletions wiki/docs/effects/texture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ A collection of functions to register different types of textures. Used internal

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L304">
texture.js:304
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L305">
texture.js:305
</a>

</div>
Expand Down Expand Up @@ -522,8 +522,8 @@ A collection of functions to register different types of textures. Used internal

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L409">
texture.js:409
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L410">
texture.js:410
</a>

</div>
Expand Down Expand Up @@ -567,8 +567,8 @@ Cached method to let renderers know `offset` has been updated on a [Two.Texture]

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L625">
texture.js:625
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L626">
texture.js:626
</a>

</div>
Expand Down Expand Up @@ -612,8 +612,8 @@ Cached method to let renderers know `scale` has been updated on a [Two.Texture](

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L634">
texture.js:634
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L635">
texture.js:635
</a>

</div>
Expand Down Expand Up @@ -926,8 +926,8 @@ Create a new instance of [Two.Texture](/docs/effects/texture/) with the same pro

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L440">
texture.js:440
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L441">
texture.js:441
</a>

</div>
Expand Down Expand Up @@ -979,8 +979,8 @@ Return a JSON compatible plain object that represents the texture.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L454">
texture.js:454
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/effects/texture.js#L455">
texture.js:455
</a>

</div>
Expand Down
4 changes: 2 additions & 2 deletions wiki/docs/path/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ Return a JSON compatible plain object that represents the path.

<div class="description">

Short hand method to set fill to `transparent`.
Short hand method to set fill to `none`.

</div>

Expand Down Expand Up @@ -1183,7 +1183,7 @@ Short hand method to set fill to `transparent`.

<div class="description">

Short hand method to set stroke to `transparent`.
Short hand method to set stroke to `none`.

</div>

Expand Down
28 changes: 14 additions & 14 deletions wiki/docs/renderers/canvas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ A massive object filled with utility functions and properties to render Two.js o

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L970">
canvas.js:970
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L979">
canvas.js:979
</a>

</div>
Expand Down Expand Up @@ -118,8 +118,8 @@ The `<canvas />` associated with the Two.js scene.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L938">
canvas.js:938
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L947">
canvas.js:947
</a>

</div>
Expand Down Expand Up @@ -165,8 +165,8 @@ Associated two dimensional context to render on the `<canvas />`.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L944">
canvas.js:944
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L953">
canvas.js:953
</a>

</div>
Expand Down Expand Up @@ -212,8 +212,8 @@ Determines whether the canvas clears the background each draw call.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L950">
canvas.js:950
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L959">
canvas.js:959
</a>

</div>
Expand Down Expand Up @@ -259,8 +259,8 @@ The root group of the scenegraph.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L961">
canvas.js:961
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L970">
canvas.js:970
</a>

</div>
Expand Down Expand Up @@ -321,8 +321,8 @@ Change the size of the renderer.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L976">
canvas.js:976
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L985">
canvas.js:985
</a>

</div>
Expand Down Expand Up @@ -366,8 +366,8 @@ Render the current scene to the `<canvas />`.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L1006">
canvas.js:1006
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/canvas.js#L1015">
canvas.js:1015
</a>

</div>
Expand Down
24 changes: 12 additions & 12 deletions wiki/docs/renderers/svg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ A massive object filled with utility functions and properties to render Two.js o

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1150">
svg.js:1150
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1160">
svg.js:1160
</a>

</div>
Expand Down Expand Up @@ -116,8 +116,8 @@ The `<svg />` associated with the Two.js scene.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1125">
svg.js:1125
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1135">
svg.js:1135
</a>

</div>
Expand Down Expand Up @@ -163,8 +163,8 @@ The root group of the scenegraph.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1131">
svg.js:1131
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1141">
svg.js:1141
</a>

</div>
Expand Down Expand Up @@ -210,8 +210,8 @@ The `<defs />` to apply gradients, patterns, and bitmap imagery.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1138">
svg.js:1138
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1148">
svg.js:1148
</a>

</div>
Expand Down Expand Up @@ -263,8 +263,8 @@ Change the size of the renderer.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1156">
svg.js:1156
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1166">
svg.js:1166
</a>

</div>
Expand Down Expand Up @@ -318,8 +318,8 @@ Render the current scene to the `<svg />`.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1178">
svg.js:1178
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/svg.js#L1188">
svg.js:1188
</a>

</div>
Expand Down
36 changes: 18 additions & 18 deletions wiki/docs/renderers/webgl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ This class is used by [Two]() when constructing with `type` of `Two.Types.webgl`

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L74">
webgl.js:74
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L75">
webgl.js:75
</a>

</div>
Expand Down Expand Up @@ -118,8 +118,8 @@ A massive object filled with utility functions and properties to render Two.js o

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1594">
webgl.js:1594
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1645">
webgl.js:1645
</a>

</div>
Expand Down Expand Up @@ -165,8 +165,8 @@ The `<canvas />` associated with the Two.js scene.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1478">
webgl.js:1478
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1526">
webgl.js:1526
</a>

</div>
Expand Down Expand Up @@ -212,8 +212,8 @@ The root group of the scenegraph.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1489">
webgl.js:1489
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1537">
webgl.js:1537
</a>

</div>
Expand Down Expand Up @@ -259,8 +259,8 @@ Determines whether the canvas clears the background each draw call.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1515">
webgl.js:1515
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1563">
webgl.js:1563
</a>

</div>
Expand Down Expand Up @@ -306,8 +306,8 @@ Associated two dimensional context to render on the `<canvas />`.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1522">
webgl.js:1522
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1570">
webgl.js:1570
</a>

</div>
Expand Down Expand Up @@ -353,8 +353,8 @@ Associated WebGL programs to render all elements from the scenegraph.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1538">
webgl.js:1538
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1586">
webgl.js:1586
</a>

</div>
Expand Down Expand Up @@ -415,8 +415,8 @@ Change the size of the renderer.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1600">
webgl.js:1600
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1651">
webgl.js:1651
</a>

</div>
Expand Down Expand Up @@ -460,8 +460,8 @@ Render the current scene to the `<canvas />`.

<div class="meta">

<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1648">
webgl.js:1648
<a class="lineno" target="_blank" rel="noopener noreferrer" href="https://github.com/jonobr1/two.js/blob/main/src/renderers/webgl.js#L1699">
webgl.js:1699
</a>

</div>
Expand Down
4 changes: 2 additions & 2 deletions wiki/docs/shapes/points/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ Return a JSON compatible plain object that represents the points object.

<div class="description">

Short hand method to set fill to `transparent`.
Short hand method to set fill to `none`.

</div>

Expand Down Expand Up @@ -762,7 +762,7 @@ Short hand method to set fill to `transparent`.

<div class="description">

Short hand method to set stroke to `transparent`.
Short hand method to set stroke to `none`.

</div>

Expand Down
Loading

0 comments on commit 4056107

Please sign in to comment.