# XWUIWhiteboard

Infinite-canvas marks with undo and JSON export. Strokes are marks, not ink data-URLs. No Viewport2D import.

## BasicUsage

Default frame and kickoff marks.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: BasicUsage
description: Default frame and kickoff marks.
```

## TextTool

Start on the text tool.

```example
file: examples/TextTool.ts
html: examples/TextTool.html
title: TextTool
description: Start on the text tool.
```

## Add

Add a mark from the class API.

```example
file: examples/Add.ts
html: examples/Add.html
title: Add
description: Add a mark from the class API.
```

## Export

Read sanitised JSON.

```example
file: examples/Export.ts
html: examples/Export.html
title: Export
description: Read sanitised JSON.
```

```api
```
