diff --git a/CHANGELOG.md b/CHANGELOG.md index 83aeb9c..43ed0f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.0-beta] - 2023-04-30 + +Initial beta release. + ## [0.8.0] - 2021-12-27 ### Added diff --git a/docs/api/functions/render.html b/docs/api/functions/render.html index e512ca4..71fb3fd 100644 --- a/docs/api/functions/render.html +++ b/docs/api/functions/render.html @@ -35,7 +35,7 @@
opts: Returns Svg

A valid SVG.js Svg object

+
  • Defined in index.ts:151
  • +
  • Defined in schemas/schema.d.ts:33
  • options?: "rotate-pieces"[]

    A list of flags to pass to the renderer.

    +
  • Defined in schemas/schema.d.ts:29
  • pieces: null | string | [string[][], ...string[][][]] | [string, ...string[]][]

    Describes what pieces are where. For the entropy renderer, the pieces should be laid out on a grid 14 cells wide, which the renderer will break up into the two different boards.

    +
  • Defined in schemas/schema.d.ts:296
  • renderer?: "default" | "stacking-offset" | "stacking-tiles" | "stacking-expanding" | "homeworlds" | "entropy"

    The rendering engine the game wants to use.

    +
  • Defined in schemas/schema.d.ts:25
  • +
  • Defined in schemas/schema.d.ts:532
  • opacity?: number

    A number between 0 and 1 indicating how opaque to render the glyph. A value of 0 means completely transparent.

    +
  • Defined in schemas/schema.d.ts:524
  • player?: number

    A positive integer pointing to a player position. Based on user settings, an appropriate background fill colour will be chosen.

    +
  • Defined in schemas/schema.d.ts:512
  • rotate?: number

    A number between -360 and 360 representing the degrees to rotate the glyph. Negative values rotate counterclockwise.

    +
  • Defined in schemas/schema.d.ts:528
  • scale?: number

    A number representing how you want the glyph proportionately scaled. Numbers <1 will shrink the glyph. Numbers >1 will enlarge it.

    +
  • Defined in schemas/schema.d.ts:520
  • text?: string

    Mutually exclusive with name. 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.

    +
  • Defined in schemas/schema.d.ts:508
  • +
  • Defined in renderers/_base.ts:79
  • colourBlind?: boolean
    @@ -123,7 +123,7 @@
    +
  • Defined in renderers/_base.ts:42
  • colours?: string[]
    @@ -132,7 +132,7 @@
    +
  • Defined in renderers/_base.ts:26
  • columnLabels?: string
    @@ -140,14 +140,14 @@
    +
  • Defined in renderers/_base.ts:57
  • divelem?: HTMLElement

    You can also pass the HTML element itself.

    +
  • Defined in index.ts:40
  • divid?: string
    @@ -155,7 +155,7 @@
    +
  • Defined in index.ts:35
  • glyphmap?: [string, string][]
    @@ -164,7 +164,7 @@
    +
  • Defined in renderers/_base.ts:63
  • height?: NumberAlias
    @@ -172,7 +172,7 @@
    +
  • Defined in index.ts:58
  • patternList?: string[]
    @@ -181,7 +181,7 @@
    +
  • Defined in renderers/_base.ts:37
  • patterns?: boolean
    @@ -189,7 +189,7 @@
    +
  • Defined in renderers/_base.ts:31
  • rotate?: number
    @@ -198,7 +198,7 @@
    +
  • Defined in renderers/_base.ts:48
  • sheets?: string[]
    @@ -207,7 +207,7 @@
    +
  • Defined in renderers/_base.ts:20
  • showAnnotations?: boolean
    @@ -215,14 +215,14 @@
    +
  • Defined in renderers/_base.ts:53
  • svgid?: string

    The string DOM ID you want the final output out be given.

    +
  • Defined in index.ts:63
  • target?: Svg
    @@ -230,7 +230,7 @@
    +
  • Defined in index.ts:46
  • width?: NumberAlias
    @@ -238,7 +238,7 @@
    +
  • Defined in index.ts:52
  • +
  • Defined in renderers/_base.ts:79
  • colourBlind?: boolean

    Signals whether you want to use the built-in set of four colour-blind-friendly colours.

    +
  • Defined in renderers/_base.ts:42
  • colours?: string[]
    @@ -121,14 +121,14 @@
    +
  • Defined in renderers/_base.ts:26
  • columnLabels?: string

    A string of unique characters that will be used to create column labels. Defaults to the lowercase English alphabet.

    +
  • Defined in renderers/_base.ts:57
  • glyphmap?: [string, string][]
    @@ -136,7 +136,7 @@
    +
  • Defined in renderers/_base.ts:63
  • patternList?: string[]
    @@ -144,14 +144,14 @@
    +
  • Defined in renderers/_base.ts:37
  • patterns?: boolean

    Signals whether you want black and white patterns used instead of colours.

    +
  • Defined in renderers/_base.ts:31
  • rotate?: number
    @@ -159,7 +159,7 @@
    +
  • Defined in renderers/_base.ts:48
  • sheets?: string[]
    @@ -167,14 +167,14 @@
    +
  • Defined in renderers/_base.ts:20
  • showAnnotations?: boolean

    Signals whether you want move annotations shown.

    +
  • Defined in renderers/_base.ts:53
  • +
  • Defined in schemas/schema.d.ts:12
  • +
  • Defined in schemas/schema.d.ts:8
  • +
  • Defined in schemas/schema.d.ts:16