Skip to content

Commit

Permalink
export document
Browse files Browse the repository at this point in the history
  • Loading branch information
rexrainbow committed Nov 12, 2024
1 parent a8e4f4d commit 9756e05
Show file tree
Hide file tree
Showing 7 changed files with 433 additions and 412 deletions.
7 changes: 7 additions & 0 deletions docs/docs/shape-custom-shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,13 @@ Shape data will be updated during rendering, or call `shape.updateData()` to upd
- `cx0`, `cy0` : Control point0
- `cx1`, `cy1` : Control point1
- `x`, `y` : End point
- Add spline(catmullRom) of lines
```javascript
lines.catmullRomTo(x1, y1, x2, y2, x3, y3, ...);
```
- `x1`, `y1` : Next point
- `x2`, `y2` : Next point
- ...
- End commands
- Close path, to fill color
```javascript
Expand Down
6 changes: 4 additions & 2 deletions docs/docs/ui-gridsizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ Layout children game objects in grids.

- [Create cell-containers](https://codepen.io/rexrainbow/pen/vYZQBPY)
- [Scrollable grids](https://codepen.io/rexrainbow/pen/YMyBom)
- [Add new row](https://codepen.io/rexrainbow/pen/JjpWwjM)
- [Add new column](https://codepen.io/rexrainbow/pen/oNEZJjy)
- Add new row/column
- [Add new row](https://codepen.io/rexrainbow/pen/JjpWwjM)
- [Add new column](https://codepen.io/rexrainbow/pen/oNEZJjy)
- [Add new row/column](https://codepen.io/rexrainbow/pen/RwXEEYx)
- [Full viewport](https://codepen.io/rexrainbow/pen/LYVKXJg)
- [Set children interactive](https://codepen.io/rexrainbow/pen/GROQKme)
- [Destroy cell](https://codepen.io/rexrainbow/pen/YzazvzY)
Expand Down
2 changes: 1 addition & 1 deletion docs/site/search/search_index.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/site/shape-custom-shapes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10820,6 +10820,14 @@ <h6 id="create-path">Create path<a class="headerlink" href="#create-path" title=
<li><code>x</code>, <code>y</code> : End point</li>
</ul>
</li>
<li>Add spline(catmullRom) of lines
<div class="highlight"><pre><span></span><code><span class="nx">lines</span><span class="p">.</span><span class="nx">catmullRomTo</span><span class="p">(</span><span class="nx">x1</span><span class="p">,</span><span class="w"> </span><span class="nx">y1</span><span class="p">,</span><span class="w"> </span><span class="nx">x2</span><span class="p">,</span><span class="w"> </span><span class="nx">y2</span><span class="p">,</span><span class="w"> </span><span class="nx">x3</span><span class="p">,</span><span class="w"> </span><span class="nx">y3</span><span class="p">,</span><span class="w"> </span><span class="p">...);</span>
</code></pre></div><ul>
<li><code>x1</code>, <code>y1</code> : Next point</li>
<li><code>x2</code>, <code>y2</code> : Next point</li>
<li>...</li>
</ul>
</li>
<li>End commands<ul>
<li>Close path, to fill color
<div class="highlight"><pre><span></span><code><span class="nx">lines</span><span class="p">.</span><span class="nx">close</span><span class="p">();</span>
Expand Down
Loading

0 comments on commit 9756e05

Please sign in to comment.