# XWUIViewport2D

2D viewport with transform system, coordinate conversion, and canvas rendering. Grid + rulers + nav controls included by default.

## Basic Usage

Default viewport with grid + rulers + nav.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Default viewport with grid + rulers + nav.
```

## No Chrome

Hide grid + rulers + nav for clean canvas overlays.

```example
file: examples/NoChrome.ts
html: examples/NoChrome.html
title: No Chrome
description: Hide grid + rulers + nav for clean canvas overlays.
```

## Floor Plan

Labelled, coloured room rectangles with grid snapping for a layout editor.

```example
file: examples/FloorPlan.ts
html: examples/FloorPlan.html
title: Floor Plan
description: Pre-loaded room objects with 20px grid snapping.
```

## Seating Chart

Stadium stands and pitch as blocks with center-line guidelines.

```example
file: examples/SeatingChart.ts
html: examples/SeatingChart.html
title: Seating Chart
description: Coloured seating sections with vertical/horizontal guidelines.
```

```api
```
