Skip to content

Commit 915f67f

Browse files
committed
Initial beta release
1 parent cca14de commit 915f67f

12 files changed

Lines changed: 58 additions & 54 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.0-beta] - 2023-04-30
9+
10+
Initial beta release.
11+
812
## [0.8.0] - 2021-12-27
913

1014
### Added

docs/api/functions/render.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/IRender
3535
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Svg</span></h4><p>A valid SVG.js Svg object</p>
3636
<aside class="tsd-sources">
3737
<ul>
38-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/index.ts#L151">index.ts:151</a></li></ul></aside></li></ul></section></div>
38+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/index.ts#L151">index.ts:151</a></li></ul></aside></li></ul></section></div>
3939
<div class="col-sidebar">
4040
<div class="page-menu">
4141
<div class="tsd-navigation settings">

docs/api/functions/renderStatic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/IRender
3636
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>A string containing a valid <code>&lt;svg&gt;</code> tag</p>
3737
<aside class="tsd-sources">
3838
<ul>
39-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/index.ts#L90">index.ts:90</a></li></ul></aside></li></ul></section></div>
39+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/index.ts#L90">index.ts:90</a></li></ul></aside></li></ul></section></div>
4040
<div class="col-sidebar">
4141
<div class="page-menu">
4242
<div class="tsd-navigation settings">

docs/api/functions/renderglyph.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h5><span class="tsd-kind-parameter">opts</span>: <a href="../interfaces/IRender
3939
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>A string containing a valid <code>&lt;svg&gt;</code> tag</p>
4040
<aside class="tsd-sources">
4141
<ul>
42-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/index.ts#L108">index.ts:108</a></li></ul></aside></li></ul></section></div>
42+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/index.ts#L108">index.ts:108</a></li></ul></aside></li></ul></section></div>
4343
<div class="col-sidebar">
4444
<div class="page-menu">
4545
<div class="tsd-navigation settings">

docs/api/interfaces/APRenderRep.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

docs/api/interfaces/Glyph.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h4>Hierarchy</h4>
2323
<ul class="tsd-hierarchy">
2424
<li><span class="target">Glyph</span></li></ul></section><aside class="tsd-sources">
2525
<ul>
26-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L500">schemas/schema.d.ts:500</a></li></ul></aside>
26+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L500">schemas/schema.d.ts:500</a></li></ul></aside>
2727
<section class="tsd-panel-group tsd-index-group">
2828
<section class="tsd-panel tsd-index-panel">
2929
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -48,14 +48,14 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
4848
<div class="tsd-comment tsd-typography"><p>A 3- or 6-digit hex colour value. Do not use this to assign player colours! This should only be used for tweaking composite pieces. Ignored if <code>player</code> is also defined.</p>
4949
</div><aside class="tsd-sources">
5050
<ul>
51-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L516">schemas/schema.d.ts:516</a></li></ul></aside></section>
51+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L516">schemas/schema.d.ts:516</a></li></ul></aside></section>
5252
<section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a>
5353
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
5454
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
5555
<div class="tsd-comment tsd-typography"><p>The name of the actual glyph. It may not contain any whitespace.</p>
5656
</div><aside class="tsd-sources">
5757
<ul>
58-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L504">schemas/schema.d.ts:504</a></li></ul></aside></section>
58+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L504">schemas/schema.d.ts:504</a></li></ul></aside></section>
5959
<section class="tsd-panel tsd-member"><a id="nudge" class="tsd-anchor"></a>
6060
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>nudge</span><a href="#nudge" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
6161
<div class="tsd-signature"><span class="tsd-kind-property">nudge</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">dx</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">dy</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
@@ -73,42 +73,42 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
7373
<div class="tsd-comment tsd-typography"><p>Negative values move the glyph up.</p>
7474
</div></li></ul></div><aside class="tsd-sources">
7575
<ul>
76-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L532">schemas/schema.d.ts:532</a></li></ul></aside></section>
76+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L532">schemas/schema.d.ts:532</a></li></ul></aside></section>
7777
<section class="tsd-panel tsd-member"><a id="opacity" class="tsd-anchor"></a>
7878
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>opacity</span><a href="#opacity" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
7979
<div class="tsd-signature"><span class="tsd-kind-property">opacity</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
8080
<div class="tsd-comment tsd-typography"><p>A number between 0 and 1 indicating how opaque to render the glyph. A value of 0 means completely transparent.</p>
8181
</div><aside class="tsd-sources">
8282
<ul>
83-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L524">schemas/schema.d.ts:524</a></li></ul></aside></section>
83+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L524">schemas/schema.d.ts:524</a></li></ul></aside></section>
8484
<section class="tsd-panel tsd-member"><a id="player" class="tsd-anchor"></a>
8585
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>player</span><a href="#player" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
8686
<div class="tsd-signature"><span class="tsd-kind-property">player</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
8787
<div class="tsd-comment tsd-typography"><p>A positive integer pointing to a player position. Based on user settings, an appropriate background fill colour will be chosen.</p>
8888
</div><aside class="tsd-sources">
8989
<ul>
90-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L512">schemas/schema.d.ts:512</a></li></ul></aside></section>
90+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L512">schemas/schema.d.ts:512</a></li></ul></aside></section>
9191
<section class="tsd-panel tsd-member"><a id="rotate" class="tsd-anchor"></a>
9292
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>rotate</span><a href="#rotate" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
9393
<div class="tsd-signature"><span class="tsd-kind-property">rotate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
9494
<div class="tsd-comment tsd-typography"><p>A number between -360 and 360 representing the degrees to rotate the glyph. Negative values rotate counterclockwise.</p>
9595
</div><aside class="tsd-sources">
9696
<ul>
97-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L528">schemas/schema.d.ts:528</a></li></ul></aside></section>
97+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L528">schemas/schema.d.ts:528</a></li></ul></aside></section>
9898
<section class="tsd-panel tsd-member"><a id="scale" class="tsd-anchor"></a>
9999
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>scale</span><a href="#scale" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
100100
<div class="tsd-signature"><span class="tsd-kind-property">scale</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
101101
<div class="tsd-comment tsd-typography"><p>A number representing how you want the glyph proportionately scaled. Numbers &lt;1 will shrink the glyph. Numbers &gt;1 will enlarge it.</p>
102102
</div><aside class="tsd-sources">
103103
<ul>
104-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L520">schemas/schema.d.ts:520</a></li></ul></aside></section>
104+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L520">schemas/schema.d.ts:520</a></li></ul></aside></section>
105105
<section class="tsd-panel tsd-member"><a id="text" class="tsd-anchor"></a>
106106
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>text</span><a href="#text" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
107107
<div class="tsd-signature"><span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
108108
<div class="tsd-comment tsd-typography"><p>Mutually exclusive with <code>name</code>. In this case, the glyph is plain text, shrunk down to the appropriate size to fit in a cell. This is intended for very short strings, like numbers.</p>
109109
</div><aside class="tsd-sources">
110110
<ul>
111-
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/0398aa7/src/schemas/schema.d.ts#L508">schemas/schema.d.ts:508</a></li></ul></aside></section></section></div>
111+
<li>Defined in <a href="https://github.com/AbstractPlay/renderer/blob/cca14de/src/schemas/schema.d.ts#L508">schemas/schema.d.ts:508</a></li></ul></aside></section></section></div>
112112
<div class="col-sidebar">
113113
<div class="page-menu">
114114
<div class="tsd-navigation settings">

0 commit comments

Comments
 (0)