Skip to main content

Interface: SvgExportableCamera

Defined in: src/export/SvgExporter.ts:34

Duck-type interface for the scene camera the exporter needs.

It matches Camera2D: a frame width/height in world units and a world-space center position. The frame is the orthographic box the raster exporters use.

Properties​

frameHeight​

frameHeight: number

Defined in: src/export/SvgExporter.ts:38

Frame height in world units.


frameWidth​

frameWidth: number

Defined in: src/export/SvgExporter.ts:36

Frame width in world units.


position​

position: object

Defined in: src/export/SvgExporter.ts:40

World-space camera center (only x and y are read).

x​

x: number

y​

y: number